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}/.*
Modifier and Type | Field and Description |
---|---|
protected String[] |
methods |
protected Pattern |
pattern |
Constructor and Description |
---|
RequestFilter(String pattern,
String... methods) |
Modifier and Type | Method and 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)
Sets the uri pattern for this matcher
|
Copyright © 2017. All rights reserved.