パッケージ | 説明 |
---|---|
org.springframework.web.servlet.mvc.condition | 条件に基づいて受信リクエストを照合するための一般的な MVC ロジック。 |
org.springframework.web.servlet.mvc.method | org.springframework.web.method パッケージに基づいた、ハンドラーメソッド処理用のサーブレットベースのインフラストラクチャ。 |
修飾子と型 | メソッドと説明 |
---|---|
PathPatternsRequestCondition | PathPatternsRequestCondition.combine(PathPatternsRequestCondition other) 次のように、現在のインスタンス("this" )と「その他」のインスタンスからの URL パターンを含む新しいインスタンスを返します。両方のインスタンスにパターンがある場合は、"this" のパターンを PathPattern.combine(PathPattern) を使用して「その他」のパターンと組み合わせます。 |
PathPatternsRequestCondition | PathPatternsRequestCondition.getMatchingCondition(HttpServletRequestEE request) パターンのいずれかが指定されたリクエストと一致するかどうかを確認し、一致するパターンを含むことが保証されているインスタンスをソートして返します。 |
修飾子と型 | メソッドと説明 |
---|---|
PathPatternsRequestCondition | PathPatternsRequestCondition.combine(PathPatternsRequestCondition other) 次のように、現在のインスタンス("this" )と「その他」のインスタンスからの URL パターンを含む新しいインスタンスを返します。両方のインスタンスにパターンがある場合は、"this" のパターンを PathPattern.combine(PathPattern) を使用して「その他」のパターンと組み合わせます。 |
int | PathPatternsRequestCondition.compareTo(PathPatternsRequestCondition other, HttpServletRequestEE request) 含まれている URL パターンに基づいて 2 つの条件を比較します。 |
修飾子と型 | メソッドと説明 |
---|---|
PathPatternsRequestCondition | RequestMappingInfo.getPathPatternsCondition() 解析されたパターンが enabled の場合、使用中のパターン条件を返します。 |