public interface FilterRoute extends HttpFilterResolver.FilterEntry<HttpFilter>
HttpFilter.EMPTY| Modifier and Type | Method and Description |
|---|---|
HttpFilter |
getFilter() |
java.util.Optional<HttpFilter> |
match(HttpMethod method,
java.net.URI uri)
Matches the given path to this filter route.
|
FilterRoute |
methods(HttpMethod... methods)
Restrict the methods this filter route matches.
|
FilterRoute |
pattern(java.lang.String pattern)
Add an addition pattern to this filter route.
|
getFilterMethods, getPatterns, hasMethods, hasPatterns, offindAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypegetAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotationHttpFilter getFilter()
getFilter in interface HttpFilterResolver.FilterEntry<HttpFilter>FilterRoutejava.util.Optional<HttpFilter> match(HttpMethod method, java.net.URI uri)
method - The HTTP methoduri - The URIOptional of HttpFilterFilterRoute pattern(java.lang.String pattern)
pattern - The patternFilterRoute methods(HttpMethod... methods)
methods - The methods