接口的使用
org.springframework.web.server.WebFilterChain
使用WebFilterChain的程序包 程序包 说明 org.springframework.web.cors.reactive Reactive support for CORS (Cross-Origin Resource Sharing), based on a commonCorsProcessor
strategy.org.springframework.web.filter.reactive WebFilter
implementations for use in reactive web applications.org.springframework.web.server Core interfaces and classes for Spring's generic, reactive web support.org.springframework.web.server.handler Provides common WebHandler implementations and aWebHandlerDecorator
.org.springframework.web.cors.reactive中WebFilterChain的使用
参数类型为WebFilterChain的org.springframework.web.cors.reactive中的方法 修饰符和类型 方法 说明 reactor.core.publisher.Mono<Void>
CorsWebFilter. filter(ServerWebExchange exchange, WebFilterChain chain)
org.springframework.web.filter.reactive中WebFilterChain的使用
参数类型为WebFilterChain的org.springframework.web.filter.reactive中的方法 修饰符和类型 方法 说明 reactor.core.publisher.Mono<Void>
ForwardedHeaderFilter. filter(ServerWebExchange exchange, WebFilterChain chain)
已过时。reactor.core.publisher.Mono<Void>
HiddenHttpMethodFilter. filter(ServerWebExchange exchange, WebFilterChain chain)
Transform an HTTP POST into another method based onmethodParamName
.reactor.core.publisher.Mono<Void>
ServerWebExchangeContextFilter. filter(ServerWebExchange exchange, WebFilterChain chain)
org.springframework.web.server中WebFilterChain的使用
参数类型为WebFilterChain的org.springframework.web.server中的方法 修饰符和类型 方法 说明 reactor.core.publisher.Mono<Void>
WebFilter. filter(ServerWebExchange exchange, WebFilterChain chain)
Process the Web request and (optionally) delegate to the nextWebFilter
through the givenWebFilterChain
.org.springframework.web.server.handler中WebFilterChain的使用
实现WebFilterChain的org.springframework.web.server.handler中的类 修饰符和类型 类 说明 class
DefaultWebFilterChain
Default implementation ofWebFilterChain
.