类 EndpointRequest.LinksServerWebExchangeMatcher
java.lang.Object
org.springframework.boot.security.reactive.ApplicationContextServerWebExchangeMatcher<WebEndpointProperties>
org.springframework.boot.actuate.autoconfigure.security.reactive.EndpointRequest.LinksServerWebExchangeMatcher
- 所有已实现的接口:
ServerWebExchangeMatcher
- 封闭类:
EndpointRequest
public static final class EndpointRequest.LinksServerWebExchangeMatcher
extends ApplicationContextServerWebExchangeMatcher<WebEndpointProperties>
The
ServerWebExchangeMatcher
used to match against the links endpoint.-
嵌套类概要
从接口继承的嵌套类/接口 org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher
ServerWebExchangeMatcher.MatchResult
-
方法概要
修饰符和类型方法说明protected ServerWebExchangeMatcher
createDelegate
(WebEndpointProperties properties) protected final List
<ServerWebExchangeMatcher> getDelegateMatchers
(Set<String> paths) protected final EndpointId
getEndpointId
(Object source) protected final boolean
hasWebServerNamespace
(ApplicationContext applicationContext, WebServerNamespace webServerNamespace) protected boolean
ignoreApplicationContext
(ApplicationContext applicationContext) Returns if theApplicationContext
should be ignored and not used for matching.protected boolean
ignoreApplicationContext
(ApplicationContext applicationContext, ManagementPortType managementPortType) protected void
initialized
(Supplier<WebEndpointProperties> supplier) Called once the context has been initialized.protected reactor.core.publisher.Mono
<ServerWebExchangeMatcher.MatchResult> matches
(ServerWebExchange exchange, Supplier<WebEndpointProperties> context) Decides whether the rule implemented by the strategy matches the supplied exchange.toString()
protected final String
从类继承的方法 org.springframework.boot.security.reactive.ApplicationContextServerWebExchangeMatcher
getContext, matches
-
方法详细资料
-
createDelegate
-
toString
-
initialized
Called once the context has been initialized.- 覆盖:
initialized
在类中ApplicationContextServerWebExchangeMatcher<C>
- 参数:
supplier
- a supplier for the initialized context (may throw an exception)
-
getDelegateMatchers
-
matches
protected reactor.core.publisher.Mono<ServerWebExchangeMatcher.MatchResult> matches(ServerWebExchange exchange, Supplier<WebEndpointProperties> context) Decides whether the rule implemented by the strategy matches the supplied exchange.- 指定者:
matches
在类中ApplicationContextServerWebExchangeMatcher<C>
- 参数:
exchange
- the source exchangecontext
- a supplier for the initialized context (may throw an exception)- 返回:
- if the exchange matches
-
ignoreApplicationContext
Returns if theApplicationContext
should be ignored and not used for matching. If this method returnstrue
then the context will not be used and thematches
method will returnfalse
.- 覆盖:
ignoreApplicationContext
在类中ApplicationContextServerWebExchangeMatcher<C>
- 参数:
applicationContext
- the candidate application context- 返回:
- if the application context should be ignored
-
ignoreApplicationContext
protected boolean ignoreApplicationContext(ApplicationContext applicationContext, ManagementPortType managementPortType) -
hasWebServerNamespace
protected final boolean hasWebServerNamespace(ApplicationContext applicationContext, WebServerNamespace webServerNamespace) -
toString
-
getEndpointId
-