Annotation Interface 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;

} 
Since:
2.0.0
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends EndpointFilter<?>>
    The filter class to use.
  • Element Details

    • value

      Class<? extends EndpointFilter<?>> value
      The filter class to use.
      Returns:
      the filter class