Class EndpointRequest.LinksServerWebExchangeMatcher
java.lang.Object
org.springframework.boot.security.reactive.ApplicationContextServerWebExchangeMatcher<T>
org.springframework.boot.actuate.autoconfigure.security.reactive.EndpointRequest.LinksServerWebExchangeMatcher
- All Implemented Interfaces:
ServerWebExchangeMatcher
- Enclosing class:
- EndpointRequest
public static final class EndpointRequest.LinksServerWebExchangeMatcher
extends ApplicationContextServerWebExchangeMatcher<T>
The
ServerWebExchangeMatcher
used to match against the links endpoint.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher
ServerWebExchangeMatcher.MatchResult
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
ignoreApplicationContext
(ApplicationContext applicationContext) Returns if theApplicationContext
should be ignored and not used for matching.protected void
initialized
(Supplier<WebEndpointProperties> properties) 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.Methods inherited from class org.springframework.boot.security.reactive.ApplicationContextServerWebExchangeMatcher
getContext, matches
-
Method Details
-
initialized
Description copied from class:ApplicationContextServerWebExchangeMatcher
Called once the context has been initialized.- Overrides:
initialized
in classApplicationContextServerWebExchangeMatcher<WebEndpointProperties>
- Parameters:
properties
- a supplier for the initialized context (may throw an exception)
-
matches
protected reactor.core.publisher.Mono<ServerWebExchangeMatcher.MatchResult> matches(ServerWebExchange exchange, Supplier<WebEndpointProperties> context) Description copied from class:ApplicationContextServerWebExchangeMatcher
Decides whether the rule implemented by the strategy matches the supplied exchange.- Specified by:
matches
in classApplicationContextServerWebExchangeMatcher<WebEndpointProperties>
- Parameters:
exchange
- the source exchangecontext
- a supplier for the initialized context (may throw an exception)- Returns:
- if the exchange matches
-
ignoreApplicationContext
Description copied from class:ApplicationContextServerWebExchangeMatcher
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
.- Overrides:
ignoreApplicationContext
in classApplicationContextServerWebExchangeMatcher<T>
- Parameters:
applicationContext
- the candidate application context- Returns:
- if the application context should be ignored
-