注释类型 FilteredEndpoint
@Target(TYPE) @Retention(RUNTIME) @Documented public @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; }
- 从以下版本开始:
- 2.0.0
- 另请参阅:
DiscovererEndpointFilter
必需元素概要
所需元素 修饰符和类型 必需的元素 说明 Class<? extends EndpointFilter<?>>
value
The filter class to use.
元素详细资料
value
Class<? extends EndpointFilter<?>> value
The filter class to use.- 返回:
- the filter class