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