クラス EndpointRequest.AdditionalPathsEndpointServerWebExchangeMatcher
java.lang.ObjectSE
org.springframework.boot.security.web.reactive.ApplicationContextServerWebExchangeMatcher<PathMappedEndpoints>
org.springframework.boot.security.autoconfigure.actuate.web.reactive.EndpointRequest.AdditionalPathsEndpointServerWebExchangeMatcher
- 実装されているすべてのインターフェース:
ServerWebExchangeMatcher
- 含まれているクラス:
EndpointRequest
public static class EndpointRequest.AdditionalPathsEndpointServerWebExchangeMatcher
extends ApplicationContextServerWebExchangeMatcher<PathMappedEndpoints>
ServerWebExchangeMatcher は、actuator endpoints の追加パスと照合するために使用されます。- 導入:
- 4.0.0
- 作成者:
- Madhura Bhave, Phillip Webb, Chris Bono
ネストされたクラスの要約
インターフェース ServerWebExchangeMatcher から継承されたネストクラス / インターフェース
ServerWebExchangeMatcher.MatchResultメソッドのサマリー
修飾子と型メソッド説明protected ServerWebExchangeMatchercreateDelegate(PathMappedEndpoints endpoints) protected final ListSE<ServerWebExchangeMatcher> getDelegateMatchers(SetSE<StringSE> paths, @Nullable HttpMethod httpMethod) protected final EndpointIdgetEndpointId(ObjectSE source) protected final booleanhasWebServerNamespace(@Nullable ApplicationContext applicationContext, WebServerNamespace webServerNamespace) protected booleanignoreApplicationContext(@Nullable ApplicationContext applicationContext) ApplicationContextを無視し、マッチングに使用しない場合に返します。protected booleanignoreApplicationContext(@Nullable 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 メソッドを使用したリクエストのみを考慮するようにマッチャーを制限します。
メソッドの詳細
withHttpMethod
public EndpointRequest.AdditionalPathsEndpointServerWebExchangeMatcher withHttpMethod(HttpMethod httpMethod) 特定の HTTP メソッドを使用したリクエストのみを考慮するようにマッチャーを制限します。- パラメーター:
httpMethod- 含める HTTP メソッド- 戻り値:
- 指定された HTTP メソッドのリクエストのみに一致するようにさらに制限されたマッチャーのコピー
ignoreApplicationContext
protected boolean ignoreApplicationContext(@Nullable ApplicationContext applicationContext, ManagementPortType managementPortType) createDelegate
toString
initialized
クラスからコピーされた説明:ApplicationContextServerWebExchangeMatcherコンテキストが初期化されると呼び出されます。- オーバーライド:
- クラス
ApplicationContextServerWebExchangeMatcher<C>のinitialized - パラメーター:
supplier- 初期化されたコンテキストのサプライヤー (例外をスローすることがあります)
getDelegateMatchers
protected final ListSE<ServerWebExchangeMatcher> getDelegateMatchers(SetSE<StringSE> paths, @Nullable 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- 候補アプリケーションコンテキスト- 戻り値:
- アプリケーションコンテキストを無視する必要がある場合
hasWebServerNamespace
protected final boolean hasWebServerNamespace(@Nullable ApplicationContext applicationContext, WebServerNamespace webServerNamespace) toString
getEndpointId