public static final class EndpointRequest.LinksServerWebExchangeMatcher extends ApplicationContextServerWebExchangeMatcher<T>
ServerWebExchangeMatcher
used to match against the links endpoint.ServerWebExchangeMatcher.MatchResult
Modifier and Type | Method and Description |
---|---|
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.
|
getContext, matches
protected void initialized(Supplier<WebEndpointProperties> properties)
ApplicationContextServerWebExchangeMatcher
initialized
in class ApplicationContextServerWebExchangeMatcher<WebEndpointProperties>
properties
- a supplier for the initialized context (may throw an exception)protected reactor.core.publisher.Mono<ServerWebExchangeMatcher.MatchResult> matches(ServerWebExchange exchange, Supplier<WebEndpointProperties> context)
ApplicationContextServerWebExchangeMatcher
matches
in class ApplicationContextServerWebExchangeMatcher<WebEndpointProperties>
exchange
- the source exchangecontext
- a supplier for the initialized context (may throw an exception)Copyright © 2020 Pivotal Software, Inc.. All rights reserved.