@Singleton @Documented @Retention(value=RUNTIME) @Target(value=TYPE) @Executable 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 java.lang.String |
MATCH_ALL_PATTERN
Pattern used to match all requests.
|
public static final java.lang.String MATCH_ALL_PATTERN
public abstract java.lang.String[] value
public abstract HttpMethod[] methods
public abstract java.lang.String[] serviceId
HttpClientFilter
instances.
Equivalent to the id()
of io.micronaut.http.client.Client
.