クラス AbstractServerWebExchangeMatcherRegistry<T>
- java.lang.Object
-
- org.springframework.security.config.web.server.AbstractServerWebExchangeMatcherRegistry<T>
- 既知の直属サブクラス
ServerHttpSecurity.AuthorizeExchangeSpec
public abstract class AbstractServerWebExchangeMatcherRegistry<T> extends java.lang.Object- 導入:
- 5.0
メソッドのサマリー
すべてのメソッド インスタンスメソッド 抽象メソッド 具象メソッド 修飾子と型 メソッド 説明 TanyExchange()リクエストをマッピングします。protected org.springframework.web.util.pattern.PathPatternParsergetPathPatternParser()Tmatchers(ServerWebExchangeMatcher... matchers)ServerWebExchangeMatcherインスタンスのリストを関連付けますTpathMatchers(java.lang.String... antPatterns)TpathMatchers(org.springframework.http.HttpMethod method)PathPatternParserServerWebExchangeMatcherインスタンスのListをマップします。TpathMatchers(org.springframework.http.HttpMethod method, java.lang.String... antPatterns)PathPatternParserServerWebExchangeMatcherインスタンスのListをマップします。protected abstract TregisterMatcher(ServerWebExchangeMatcher matcher)サブクラスは、ServerWebExchangeMatcherインスタンスの作成にチェーンされたオブジェクトを返すためにこのメソッドを実装する必要があります。
メソッドの詳細
anyExchange
public T anyExchange()
リクエストをマッピングします。- 戻り値:
ServerWebExchangeMatcherの作成後にチェーンされるオブジェクト
pathMatchers
public T pathMatchers(org.springframework.http.HttpMethod method)
PathPatternParserServerWebExchangeMatcherインスタンスのListをマップします。- パラメーター:
method-HttpMethodに使用するHttpMethod- 戻り値:
ServerWebExchangeMatcherの作成後にチェーンされるオブジェクト
pathMatchers
public T pathMatchers(org.springframework.http.HttpMethod method, java.lang.String... antPatterns)
PathPatternParserServerWebExchangeMatcherインスタンスのListをマップします。- パラメーター:
method- 使用するHttpMethodまたは任意のHttpMethodのnullantPatterns- 作成する ant パターン。nullまたは空の場合、何にも一致しません。からPathPatternParserServerWebExchangeMatcher- 戻り値:
ServerWebExchangeMatcherの作成後にチェーンされるオブジェクト
pathMatchers
public T pathMatchers(java.lang.String... antPatterns)
- パラメーター:
antPatterns-PathPatternParserServerWebExchangeMatcherを作成する ant パターン- 戻り値:
ServerWebExchangeMatcherの作成後にチェーンされるオブジェクト
matchers
public T matchers(ServerWebExchangeMatcher... matchers)
ServerWebExchangeMatcherインスタンスのリストを関連付けます- パラメーター:
matchers-ServerWebExchangeMatcherインスタンス- 戻り値:
ServerWebExchangeMatcherの作成後にチェーンされるオブジェクト
registerMatcher
protected abstract T registerMatcher(ServerWebExchangeMatcher matcher)
サブクラスは、ServerWebExchangeMatcherインスタンスの作成にチェーンされたオブジェクトを返すためにこのメソッドを実装する必要があります。- パラメーター:
matcher- 作成されたServerWebExchangeMatcherインスタンス- 戻り値:
ServerWebExchangeMatcherへの何かの関連付けを可能にするサブクラスのチェーンオブジェクト
getPathPatternParser
protected org.springframework.web.util.pattern.PathPatternParser getPathPatternParser()