クラス OrRequestMatcher

java.lang.ObjectSE
org.springframework.security.web.util.matcher.OrRequestMatcher
実装されたすべてのインターフェース:
RequestMatcher

public final class OrRequestMatcher extends ObjectSE implements RequestMatcher
渡された RequestMatcher インスタンスのいずれかが一致した場合に true を返す RequestMatcher
導入:
3.2
  • ネストされたクラスのサマリー

    インターフェース org.springframework.security.web.util.matcher.RequestMatcher から継承されたネストクラス / インターフェース

    RequestMatcher.MatchResult
  • コンストラクターのサマリー

    コンストラクター
    コンストラクター
    説明
    新しいインスタンスを作成します
    OrRequestMatcher(RequestMatcher... requestMatchers)
    新しいインスタンスを作成します
  • メソッドのサマリー

    修飾子と型
    メソッド
    説明
    boolean
    matches(jakarta.servlet.http.HttpServletRequest request)
    戦略によって実装されたルールが提供されたリクエストと一致するかどうかを決定します。

    クラス java.lang.ObjectSE から継承されたメソッド

    clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, wait, waitSE, waitSE

    インターフェース org.springframework.security.web.util.matcher.RequestMatcher から継承されたメソッド

    matcher
  • コンストラクターの詳細

    • OrRequestMatcher

      public OrRequestMatcher(ListSE<RequestMatcher> requestMatchers)
      新しいインスタンスを作成します
      パラメーター:
      requestMatchers - 試行する RequestMatcher インスタンス
    • OrRequestMatcher

      public OrRequestMatcher(RequestMatcher... requestMatchers)
      新しいインスタンスを作成します
      パラメーター:
      requestMatchers - 試行する RequestMatcher インスタンス
  • メソッドの詳細

    • matches

      public boolean matches(jakarta.servlet.http.HttpServletRequest request)
      インターフェースからコピーされた説明: RequestMatcher
      戦略によって実装されたルールが提供されたリクエストと一致するかどうかを決定します。
      次で指定:
      インターフェース RequestMatchermatches 
      パラメーター:
      request - 一致を確認するリクエスト
      戻り値:
      リクエストが一致する場合は true、そうでない場合は false
    • toString

      public StringSE toString()
      オーバーライド:
      クラス ObjectSEtoString