Annotation Interface FilteredEndpoint
Annotation that can be used on an
@Endpoint
to implement implicit
filtering. Often used as a meta-annotation on technology specific endpoint annotations,
for example:@Endpoint @FilteredEndpoint(WebEndpointFilter.class) public @interface WebEndpoint { @AliasFor(annotation = Endpoint.class, attribute = "id") String id(); @AliasFor(annotation = Endpoint.class, attribute = "enableByDefault") boolean enableByDefault() default true; }
- Since:
- 2.0.0
- Author:
- Phillip Webb
- See Also:
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionClass<? extends EndpointFilter<?>>
The filter class to use.
-
Element Details
-
value
Class<? extends EndpointFilter<?>> valueThe filter class to use.- Returns:
- the filter class
-