Class RequestFilter
- java.lang.Object
-
- org.camunda.bpm.webapp.impl.security.filter.RequestFilter
-
public class RequestFilter extends Object
A request matcher that matches uris compatible to the JAX-RS syntax and extracts the arguments on match.
Example uris:/some/url/{param1}/{param2}/{param3:.*}
/some/url/{param1:foo}/.*
- Author:
- Daniel Meyer, nico.rehwaldt
-
-
Constructor Summary
Constructors Constructor Description RequestFilter(String pattern, String applicationPath, String... methods)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
isMethodMatched(String requestMethod)
Map<String,String>
match(String requestMethod, String requestUri)
protected Map<String,String>
matchRequestUri(String requestUri)
protected void
setPattern(String pattern, String applicationPath)
Sets the uri pattern for this matcher
-
-
-
Method Detail
-
isMethodMatched
protected boolean isMethodMatched(String requestMethod)
-
-