public class WebSocketParamFilter extends AbstractWebFilter
| Constructor and Description |
|---|
WebSocketParamFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected reactor.core.publisher.Mono<Void> |
doDenyResponse(org.springframework.web.server.ServerWebExchange exchange)
this is Template Method ,children Implement your own And response client.
|
protected reactor.core.publisher.Mono<Boolean> |
doFilter(org.springframework.web.server.ServerWebExchange exchange,
org.springframework.web.server.WebFilterChain chain)
this is Template Method ,children Implement your own filtering logic.
|
filterprotected reactor.core.publisher.Mono<Boolean> doFilter(org.springframework.web.server.ServerWebExchange exchange, org.springframework.web.server.WebFilterChain chain)
AbstractWebFilterdoFilter in class AbstractWebFilterexchange - the current server exchangechain - provides a way to delegate to the next filterMono<Boolean> result:TRUE (is pass),and flow next filter;FALSE (is not pass) execute doDenyResponse(ServerWebExchange exchange)protected reactor.core.publisher.Mono<Void> doDenyResponse(org.springframework.web.server.ServerWebExchange exchange)
AbstractWebFilterdoDenyResponse in class AbstractWebFilterexchange - the current server exchange.Mono<Void> response msg.Copyright © 2021 The Apache Software Foundation. All rights reserved.