クラスの使用
org.springframework.web.servlet.mvc.condition.ParamsRequestCondition
パッケージ
説明
条件に基づいて受信リクエストを照合するための一般的な MVC ロジック。
org.springframework.web.method
パッケージに基づいた、ハンドラーメソッド処理用のサーブレットベースのインフラストラクチャ。org.springframework.web.servlet.mvc.condition 内の ParamsRequestCondition 使用
修飾子と型メソッド説明ParamsRequestCondition.combine
(ParamsRequestCondition other) "this" からの param 式と「その他」のインスタンスを結合した新しいインスタンスを返します。ParamsRequestCondition.getMatchingCondition
(HttpServletRequestEE request) リクエストがすべてのパラメーター式に一致する場合、"this" インスタンスを返します。それ以外の場合はnull
。修飾子と型メソッド説明ParamsRequestCondition.combine
(ParamsRequestCondition other) "this" からの param 式と「その他」のインスタンスを結合した新しいインスタンスを返します。int
ParamsRequestCondition.compareTo
(ParamsRequestCondition other, HttpServletRequestEE request) パラメーター式に基づく別の条件と比較します。org.springframework.web.servlet.mvc.method 内の ParamsRequestCondition 使用
修飾子と型メソッド説明RequestMappingInfo.getParamsCondition()
このRequestMappingInfo
の「パラメーター」条件を返します。または、パラメーター式が 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 の時点で、RequestMappingInfo.paths(String...)
を介してRequestMappingInfo.Builder
を使用することをお勧めします。
RequestMappingInfo.paths(String...)
を介してRequestMappingInfo.Builder
を使用することをお勧めします。