org.camunda.bpm.webapp.impl.security.filter
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
methods
protected String[] methods
pattern
protected Pattern pattern
RequestFilter
public RequestFilter(String pattern,
String... methods)
match
public Map<String,String> match(String requestMethod,
String requestUri)
isMethodMatched
protected boolean isMethodMatched(String requestMethod)
matchRequestUri
protected Map<String,String> matchRequestUri(String requestUri)
setPattern
protected final void setPattern(String pattern)
- Sets the uri pattern for this matcher
- Parameters:
pattern -
Copyright © 2018 camunda services GmbH. All rights reserved.