public abstract class AbstractWebFilter
extends java.lang.Object
implements org.springframework.web.server.WebFilter
| 构造器和说明 |
|---|
AbstractWebFilter() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract 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 abstract 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.
|
reactor.core.publisher.Mono<java.lang.Void> |
filter(org.springframework.web.server.ServerWebExchange exchange,
org.springframework.web.server.WebFilterChain chain) |
@NonNull
public reactor.core.publisher.Mono<java.lang.Void> filter(@NonNull
org.springframework.web.server.ServerWebExchange exchange,
@NonNull
org.springframework.web.server.WebFilterChain chain)
filter 在接口中 org.springframework.web.server.WebFilterprotected abstract reactor.core.publisher.Mono<java.lang.Boolean> doMatcher(org.springframework.web.server.ServerWebExchange exchange,
org.springframework.web.server.WebFilterChain chain)
exchange - 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 abstract reactor.core.publisher.Mono<java.lang.Void> doFilter(org.springframework.web.server.ServerWebExchange exchange)
exchange - the current server exchange.Mono<Void> response msg.Copyright © 2026 The Apache Software Foundation. All rights reserved.