public class LocalDispatcherFilter extends AbstractWebFilter
| 构造器和说明 |
|---|
LocalDispatcherFilter(org.springframework.web.reactive.DispatcherHandler dispatcherHandler,
java.lang.String sha512Key)
Instantiates a new Local dispatcher filter.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected reactor.core.publisher.Mono<java.lang.Void> |
doFilter(org.springframework.web.server.ServerWebExchange exchange)
this is Template Method ,children Implement your own And response client.
|
protected reactor.core.publisher.Mono<java.lang.Boolean> |
doMatcher(org.springframework.web.server.ServerWebExchange exchange,
org.springframework.web.server.WebFilterChain chain)
this is Template Method ,children Implement your own filtering logic.
|
filterpublic LocalDispatcherFilter(org.springframework.web.reactive.DispatcherHandler dispatcherHandler,
java.lang.String sha512Key)
dispatcherHandler - the dispatcher handlersha512Key - the sha512 keyprotected reactor.core.publisher.Mono<java.lang.Boolean> doMatcher(org.springframework.web.server.ServerWebExchange exchange,
org.springframework.web.server.WebFilterChain chain)
AbstractWebFilterdoMatcher 在类中 AbstractWebFilterexchange - the current server exchangechain - provides a way to delegate to the next filterMono<Boolean> result:TRUE (is pass),and execute do filter;FALSE (is not pass) execute next filterprotected reactor.core.publisher.Mono<java.lang.Void> doFilter(org.springframework.web.server.ServerWebExchange exchange)
AbstractWebFilterdoFilter 在类中 AbstractWebFilterexchange - the current server exchange.Mono<Void> response msg.Copyright © 2026 The Apache Software Foundation. All rights reserved.