アノテーションインターフェース FilteredEndpoint


@TargetSE(TYPESE) @RetentionSE(RUNTIMESE) @DocumentedSE public @interface FilteredEndpoint
暗黙のフィルタリングを実装するために @Endpoint で使用できるアノテーション。多くの場合、テクノロジー固有のエンドポイントアノテーションのメタアノテーションとして使用されます。例:
 @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
作成者:
Phillip Webb
関連事項:
  • 必須定数のサマリー

    必須要素
    修飾子と型
    必須要素
    説明
    ClassSE<? extends EndpointFilter<?>>
    使用するフィルタークラス。
  • 要素の詳細

    • value

      ClassSE<? extends EndpointFilter<?>> value
      使用するフィルタークラス。
      戻り値:
      フィルタークラス