クラス EndpointRequest.EndpointServerWebExchangeMatcher
java.lang.ObjectSE
org.springframework.boot.security.reactive.ApplicationContextServerWebExchangeMatcher<C>
org.springframework.boot.actuate.autoconfigure.security.reactive.EndpointRequest.EndpointServerWebExchangeMatcher
- 実装されているすべてのインターフェース:
ServerWebExchangeMatcher
- 含まれているクラス:
- EndpointRequest
public static final class EndpointRequest.EndpointServerWebExchangeMatcher
extends ApplicationContextServerWebExchangeMatcher<C>
ServerWebExchangeMatcher は actuator endpoints と照合するために使用されていました。ネストされたクラスの要約
インターフェース org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher から継承されたネストクラス / インターフェース
ServerWebExchangeMatcher.MatchResultメソッドのサマリー
修飾子と型メソッド説明protected ServerWebExchangeMatchercreateDelegate(PathMappedEndpoints endpoints) protected final ListSE<ServerWebExchangeMatcher>getDelegateMatchers(SetSE<StringSE> paths, HttpMethod httpMethod) protected final EndpointIdgetEndpointId(ObjectSE source) protected final booleanhasWebServerNamespace(ApplicationContext applicationContext, WebServerNamespace webServerNamespace) protected booleanignoreApplicationContext(ApplicationContext applicationContext) ApplicationContextを無視し、マッチングに使用しない場合に返します。protected booleanignoreApplicationContext(ApplicationContext applicationContext, ManagementPortType managementPortType) protected voidinitialized(SupplierSE<PathMappedEndpoints> supplier) コンテキストが初期化されると呼び出されます。protected reactor.core.publisher.Mono<ServerWebExchangeMatcher.MatchResult>matches(ServerWebExchange exchange, SupplierSE<PathMappedEndpoints> context) 戦略によって実装されたルールが提供された取引所と一致するかどうかを決定します。toString()protected final StringSEwithHttpMethod(HttpMethod httpMethod) 特定の http メソッドを使用したリクエストのみを考慮するようにマッチャーを制限します。クラス org.springframework.boot.security.reactive.ApplicationContextServerWebExchangeMatcher から継承されたメソッド
getContext, matches
メソッドの詳細
excluding
excluding
excludingLinks
withHttpMethod
特定の http メソッドを使用したリクエストのみを考慮するようにマッチャーを制限します。- パラメーター:
httpMethod- 含める http メソッド- 戻り値:
- 指定された http メソッドのリクエストのみに一致するようにさらに制限されたマッチャーのコピー
createDelegate
toString
initialized
クラスからコピーされた説明:ApplicationContextServerWebExchangeMatcherコンテキストが初期化されると呼び出されます。- オーバーライド:
- クラス
ApplicationContextServerWebExchangeMatcher<C>のinitialized - パラメーター:
supplier- 初期化されたコンテキストのサプライヤー (例外をスローすることがあります)
getDelegateMatchers
protected final ListSE<ServerWebExchangeMatcher> getDelegateMatchers(SetSE<StringSE> paths, HttpMethod httpMethod) matches
protected reactor.core.publisher.Mono<ServerWebExchangeMatcher.MatchResult> matches(ServerWebExchange exchange, SupplierSE<PathMappedEndpoints> context) クラスからコピーされた説明:ApplicationContextServerWebExchangeMatcher戦略によって実装されたルールが提供された取引所と一致するかどうかを決定します。- 次で指定:
- クラス
ApplicationContextServerWebExchangeMatcher<C>のmatches - パラメーター:
exchange- ソース交換context- 初期化されたコンテキストのサプライヤー (例外をスローすることがあります)- 戻り値:
- 交換が一致する場合
ignoreApplicationContext
クラスからコピーされた説明:ApplicationContextServerWebExchangeMatcherApplicationContextを無視し、マッチングに使用しない場合に返します。このメソッドがtrueを返す場合、コンテキストは使用されず、matchesメソッドはfalseを返します。- オーバーライド:
- クラス
ApplicationContextServerWebExchangeMatcher<C>のignoreApplicationContext - パラメーター:
applicationContext- 候補アプリケーションコンテキスト- 戻り値:
- アプリケーションコンテキストを無視する必要がある場合
ignoreApplicationContext
protected boolean ignoreApplicationContext(ApplicationContext applicationContext, ManagementPortType managementPortType) hasWebServerNamespace
protected final boolean hasWebServerNamespace(ApplicationContext applicationContext, WebServerNamespace webServerNamespace) toString
getEndpointId