ApplicationContextServerWebExchangeMatcher

abstract class ApplicationContextServerWebExchangeMatcher<C> : ServerWebExchangeMatcher

ApplicationContext backed ServerWebExchangeMatcher. Can work directly with the ApplicationContext, obtain an existing bean or create a new bean that is autowired in the usual way.

Author

Madhura Bhave

Since

2.0.0

Parameters

<C>

the type of the context that the match method actually needs to use. Can be an ApplicationContext or a class of an existing bean.

Constructors

constructor(contextClass: Class<out C>)

Functions

Link copied to clipboard
fun matches(exchange: ServerWebExchange): Mono<ServerWebExchangeMatcher.MatchResult>