クラスの使用
org.springframework.web.reactive.result.method.RequestMappingInfo
パッケージ
説明
ハンドラーメソッド処理のインフラストラクチャ。
アノテーションベースのハンドラーメソッド処理のインフラストラクチャ。
org.springframework.web.reactive.result.method 内の RequestMappingInfo 使用
修飾子と型メソッド説明RequestMappingInfo.Builder.build()
RequestMappingInfo をビルドします。RequestMappingInfo.combine
(RequestMappingInfo other) "this" リクエストマッピング情報を組み合わせます(つまりRequestMappingInfo.getMatchingCondition
(ServerWebExchange exchange) このリクエストマッピング情報のすべての条件が提供されたリクエストと一致するかどうかを確認し、現在のリクエストに合わせた条件で潜在的に新しいリクエストマッピング情報を返します。protected RequestMappingInfo
RequestMappingInfoHandlerMapping.getMatchingMapping
(RequestMappingInfo info, ServerWebExchange exchange) 指定された RequestMappingInfo が現在のリクエストに一致するかどうかを確認し、現在のリクエストに一致する条件(たとえば、URL パターンのサブセット)で(潜在的に新しい)インスタンスを返します。修飾子と型メソッド説明protected ComparatorSE<RequestMappingInfo>
RequestMappingInfoHandlerMapping.getMappingComparator
(ServerWebExchange exchange) リクエストに一致する RequestMappingInfos をソートするためのコンパレータを提供します。修飾子と型メソッド説明RequestMappingInfo.combine
(RequestMappingInfo other) "this" リクエストマッピング情報を組み合わせます(つまりint
RequestMappingInfo.compareTo
(RequestMappingInfo other, ServerWebExchange exchange) "this" 情報を比較します(つまりRequestMappingInfoHandlerMapping.getDirectPaths
(RequestMappingInfo info) protected RequestMappingInfo
RequestMappingInfoHandlerMapping.getMatchingMapping
(RequestMappingInfo info, ServerWebExchange exchange) 指定された RequestMappingInfo が現在のリクエストに一致するかどうかを確認し、現在のリクエストに一致する条件(たとえば、URL パターンのサブセット)で(潜在的に新しい)インスタンスを返します。protected void
RequestMappingInfoHandlerMapping.handleMatch
(RequestMappingInfo info, HandlerMethod handlerMethod, ServerWebExchange exchange) リクエストで URI テンプレート変数、マトリックス変数、作成可能なメディア型を公開します。修飾子と型メソッド説明protected HandlerMethod
RequestMappingInfoHandlerMapping.handleNoMatch
(SetSE<RequestMappingInfo> infos, ServerWebExchange exchange) すべての RequestMappingInfos をもう一度繰り返し、少なくとも URL による一致があるかどうかを確認し、それに応じて例外を発生させます。修飾子コンストラクター説明RequestMappingInfo
(RequestMappingInfo info, RequestCondition<?> customRequestCondition) 使用すべきではありません。org.springframework.web.reactive.result.method.annotation 内の RequestMappingInfo 使用
修飾子と型メソッド説明protected RequestMappingInfo
RequestMappingHandlerMapping.createRequestMappingInfo
(RequestMapping requestMapping, RequestCondition<?> customCondition) 提供された@RequestMapping
アノテーションからRequestMappingInfo
を作成します。これは、直接宣言されたアノテーション、メタアノテーション、アノテーション階層内のアノテーション属性をマージした合成結果のいずれかです。protected RequestMappingInfo
RequestMappingHandlerMapping.getMappingForMethod
(MethodSE method, ClassSE<?> handlerType) メソッドおよび型レベルの @RequestMapping
アノテーションを使用して RequestMappingInfo を作成します。修飾子と型メソッド説明protected CorsConfiguration
RequestMappingHandlerMapping.initCorsConfiguration
(ObjectSE handler, MethodSE method, RequestMappingInfo mappingInfo) protected void
RequestMappingHandlerMapping.registerHandlerMethod
(ObjectSE handler, MethodSE method, RequestMappingInfo mapping) void
RequestMappingHandlerMapping.registerMapping
(RequestMappingInfo mapping, ObjectSE handler, MethodSE method)
mutate()
を介してRequestMappingInfo.Builder
を使用することに賛成しています。