クラス ControllerEndpointHandlerMapping

実装されているすべてのインターフェース:
AwareBeanNameAwareInitializingBeanApplicationContextAwareEmbeddedValueResolverAwareOrderedServletContextAwareMatchableHandlerMappingHandlerMapping

@DeprecatedSE(since="3.3.5", forRemoval=true) public class ControllerEndpointHandlerMapping extends RequestMappingHandlerMapping
非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。
3.3.5 以降は @Endpoint と @WebEndpoint のサポートを推奨
Spring MVC を介して @ControllerEndpoint および @RestControllerEndpoint アノテーション付きエンドポイントを公開する HandlerMapping
導入:
2.0.0
作成者:
Phillip Webb
  • コンストラクターの詳細

    • ControllerEndpointHandlerMapping

      public ControllerEndpointHandlerMapping(EndpointMapping endpointMapping, CollectionSE<ExposableControllerEndpoint> endpoints, CorsConfiguration corsConfiguration)
      非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。
      指定されたエンドポイントのマッピングを提供する新しい ControllerEndpointHandlerMapping インスタンスを作成します。
      パラメーター:
      endpointMapping - すべてのエンドポイントのベースマッピング
      endpoints - Web エンドポイント
      corsConfiguration - エンドポイントまたは null の CORS 構成
    • ControllerEndpointHandlerMapping

      public ControllerEndpointHandlerMapping(EndpointMapping endpointMapping, CollectionSE<ExposableControllerEndpoint> endpoints, CorsConfiguration corsConfiguration, EndpointAccessResolver endpointAccessResolver)
      非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。
      指定されたエンドポイントのマッピングを提供する新しい ControllerEndpointHandlerMapping インスタンスを作成します。
      パラメーター:
      endpointMapping - すべてのエンドポイントのベースマッピング
      endpoints - Web エンドポイント
      corsConfiguration - エンドポイントまたは null の CORS 構成
      endpointAccessResolver - エンドポイントアクセスのリゾルバー
  • メソッドの詳細