クラスの使用
org.springframework.web.reactive.result.condition.RequestMethodsRequestCondition
org.springframework.web.reactive.result.condition 内の RequestMethodsRequestCondition 使用
修飾子と型メソッド説明RequestMethodsRequestCondition.combine
(RequestMethodsRequestCondition other) "this" からの HTTP リクエストメソッドと「その他の」インスタンスの和集合を持つ新しいインスタンスを返します。RequestMethodsRequestCondition.getMatchingCondition
(ServerWebExchange exchange) HTTP リクエストメソッドのいずれかが指定されたリクエストと一致するかどうかを確認し、一致する HTTP リクエストメソッドのみを含むインスタンスを返します。修飾子と型メソッド説明RequestMethodsRequestCondition.combine
(RequestMethodsRequestCondition other) "this" からの HTTP リクエストメソッドと「その他の」インスタンスの和集合を持つ新しいインスタンスを返します。int
RequestMethodsRequestCondition.compareTo
(RequestMethodsRequestCondition other, ServerWebExchange exchange) 戻り値: 2 つの条件に含まれる HTTP リクエストメソッドの数 Less が 0 よりも多い場合は 0。"this" インスタンスに HTTP リクエストメソッドがあるが「その他」が 0 より大きい場合「その他」は HTTP リクエストメソッドを持つが "this" はないorg.springframework.web.reactive.result.method 内の RequestMethodsRequestCondition 使用
修飾子と型メソッド説明RequestMappingInfo.getMethodsCondition()
このRequestMappingInfo
の HTTP リクエストメソッドを返します。または、リクエストメソッドが 0 のインスタンス、決してnull
。修飾子コンストラクター説明RequestMappingInfo
(StringSE name, PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom) 使用すべきではありません。RequestMappingInfo
(PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom) 使用すべきではありません。5.3.4 の時点で、RequestMappingInfo.paths(String...)
を介してRequestMappingInfo.Builder
を使用することをお勧めします。
RequestMappingInfo.paths(String...)
を介してRequestMappingInfo.Builder
を使用することをお勧めします。