Class FilterUtil
java.lang.Object
org.apache.catalina.util.FilterUtil
General purpose utility methods related to filters and filter processing.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetRequestPath(ServletRequest request) static booleanmatchFiltersURL(FilterMap filterMap, String requestPath) Tests if the provided, context-relative, request path matches the provided filter mapping.
-
Method Details
-
matchFiltersURL
Tests if the provided, context-relative, request path matches the provided filter mapping.- Parameters:
filterMap- Filter mapping being checkedrequestPath- Context-relative request path of this request- Returns:
trueif the context-relative request path matches the requirements of the specified filter mapping; otherwise, returnfalse.
-
getRequestPath
-