Issue #7262 - make the ServletHandler.getFilterChain method protected

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
Lachlan Roberts 2021-12-13 11:35:07 +11:00
parent 08724d8e70
commit 7672980afe
1 changed files with 1 additions and 1 deletions

View File

@ -537,7 +537,7 @@ public class ServletHandler extends ScopedHandler
return _servletNameMap.get(target); return _servletNameMap.get(target);
} }
private FilterChain getFilterChain(Request baseRequest, String pathInContext, ServletHolder servletHolder) protected FilterChain getFilterChain(Request baseRequest, String pathInContext, ServletHolder servletHolder)
{ {
Objects.requireNonNull(servletHolder); Objects.requireNonNull(servletHolder);
String key = pathInContext == null ? servletHolder.getName() : pathInContext; String key = pathInContext == null ? servletHolder.getName() : pathInContext;