public interface FilterRoute
HttpFilter.| Modifier and Type | Method and Description |
|---|---|
HttpFilter |
getFilter() |
Optional<HttpFilter> |
match(HttpMethod method,
URI uri)
Matches the given path to this filter route.
|
FilterRoute |
methods(HttpMethod... methods)
Restrict the methods this filter route matches.
|
FilterRoute |
pattern(String pattern)
Add an addition pattern to this filter route.
|
HttpFilter getFilter()
FilterRouteOptional<HttpFilter> match(HttpMethod method, URI uri)
method - The HTTP methoduri - The URIOptional of HttpFilterFilterRoute pattern(String pattern)
pattern - The patternFilterRoute methods(HttpMethod... methods)
methods - The methods