クラス AndRequestMatcher
java.lang.ObjectSE
org.springframework.security.web.util.matcher.AndRequestMatcher
- 実装されているすべてのインターフェース:
RequestMatcher
RequestMatcher インスタンスに渡されたすべてが一致した場合に true を返す RequestMatcher。- 導入:
- 3.2
ネストされたクラスの要約
インターフェース org.springframework.security.web.util.matcher.RequestMatcher から継承されたネストクラス / インターフェース
RequestMatcher.MatchResultコンストラクターの概要
コンストラクターコンストラクター説明AndRequestMatcher(ListSE<RequestMatcher> requestMatchers) 新しいインスタンスを作成しますAndRequestMatcher(RequestMatcher... requestMatchers) 新しいインスタンスを作成します方法の概要
修飾子と型メソッド説明booleaninthashCode()matcher(jakarta.servlet.http.HttpServletRequest request) このHttpServletRequestのRequestMatcher.MatchResultを返します。booleanmatches(jakarta.servlet.http.HttpServletRequest request) 戦略によって実装されたルールが提供されたリクエストと一致するかどうかを決定します。toString()
コンストラクターの詳細
AndRequestMatcher
新しいインスタンスを作成します- パラメーター:
requestMatchers- 試行するRequestMatcherインスタンス
AndRequestMatcher
新しいインスタンスを作成します- パラメーター:
requestMatchers- 試行するRequestMatcherインスタンス
メソッドの詳細
matches
public boolean matches(jakarta.servlet.http.HttpServletRequest request) インターフェースからコピーされた説明:RequestMatcher戦略によって実装されたルールが提供されたリクエストと一致するかどうかを決定します。- 次で指定:
- インターフェース
RequestMatcherのmatches - パラメーター:
request- 一致を確認するリクエスト- 戻り値:
- リクエストが一致する場合は true、そうでない場合は false
matcher
このHttpServletRequestのRequestMatcher.MatchResultを返します。一致の場合、リクエスト変数は、基礎となるマッチャー内のリクエスト変数の合成です。2 つのマッチャーが同じキーを持っている場合、最後のキーが伝播されたキーになります。- 次で指定:
- インターフェース
RequestMatcherのmatcher - パラメーター:
request- HTTP リクエスト- 戻り値:
- 指定された HTTP リクエストに基づく
RequestMatcher.MatchResult - 導入:
- 6.1
equals
hashCode
public int hashCode()toString