@Singleton @Documented @Retention(value=RUNTIME) @Target(value=TYPE) public @interface Filter
An annotation that can be applied to classes that implement HttpFilter
to
specify the patterns.
Used as an alternative to applying filters manually via the {code Router} API
Modifier and Type | Fields and Description |
---|---|
static String |
MATCH_ALL_PATTERN
Pattern used to match all requests.
|
Modifier and Type | Optional Element and Description |
---|---|
String[] |
excludeServiceId
The service identifiers this filter does not apply to.
|
HttpMethod[] |
methods |
String[] |
patterns
Same as
value() . |
FilterPatternStyle |
patternStyle |
String[] |
serviceId
The service identifiers this filter applies to.
|
String[] |
value |
public static final String MATCH_ALL_PATTERN
public abstract String[] value
public abstract FilterPatternStyle patternStyle
public abstract HttpMethod[] methods
public abstract String[] serviceId
HttpClientFilter
instances.public abstract String[] excludeServiceId
HttpClientFilter
instances.