Package org.apache.catalina.util
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 String
getRequestPath
(ServletRequest request) static boolean
matchFiltersURL
(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:
true
if the context-relative request path matches the requirements of the specified filter mapping; otherwise, returnfalse
.
-
getRequestPath
-