Uses of Interface
org.springframework.web.server.WebFilter
Packages that use WebFilter Package Description org.springframework.test.web.reactive.server Support for testing Spring WebFlux server endpoints viaWebTestClient
.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.reactive.function.server Provides the types that make up Spring's functional web framework for Reactive environments.org.springframework.web.server.adapter Implementations to adapt to the underlyingorg.springframework.http.client.reactive
reactive HTTP adapter andHttpHandler
.org.springframework.web.server.handler Provides common WebHandler implementations and aWebHandlerDecorator
.Uses of WebFilter in org.springframework.test.web.reactive.server
Uses of WebFilter in org.springframework.web.cors.reactive
Classes in org.springframework.web.cors.reactive that implement WebFilter Modifier and Type Class Description class
CorsWebFilter
WebFilter
that handles CORS preflight requests and intercepts CORS simple and actual requests thanks to aCorsProcessor
implementation (DefaultCorsProcessor
by default) in order to add the relevant CORS response headers (likeAccess-Control-Allow-Origin
) using the providedCorsConfigurationSource
(for example anUrlBasedCorsConfigurationSource
instance.Uses of WebFilter in org.springframework.web.filter.reactive
Classes in org.springframework.web.filter.reactive that implement WebFilter Modifier and Type Class Description class
ForwardedHeaderFilter
Deprecated.as of 5.1 this filter is deprecated in favor of usingForwardedHeaderTransformer
which can be declared as a bean with the name "forwardedHeaderTransformer" or registered explicitly inWebHttpHandlerBuilder
.class
HiddenHttpMethodFilter
ReactiveWebFilter
that converts posted method parameters into HTTP methods, retrievable viaHttpRequest.getMethod()
.class
ServerWebExchangeContextFilter
Inserts an attribute in the ReactorContext
that makes the currentServerWebExchange
available under the attribute nameServerWebExchangeContextFilter.EXCHANGE_CONTEXT_ATTRIBUTE
.Uses of WebFilter in org.springframework.web.reactive.function.server
Methods in org.springframework.web.reactive.function.server that return types with arguments of type WebFilter Modifier and Type Method Description List<WebFilter>
HandlerStrategies. webFilters()
Return theWebFilters
to be used for filtering the request and response.Methods in org.springframework.web.reactive.function.server with parameters of type WebFilter Modifier and Type Method Description HandlerStrategies.Builder
HandlerStrategies.Builder. webFilter(WebFilter filter)
Add the given web filter to this builder.Uses of WebFilter in org.springframework.web.server.adapter
Methods in org.springframework.web.server.adapter with parameters of type WebFilter Modifier and Type Method Description WebHttpHandlerBuilder
WebHttpHandlerBuilder. filter(WebFilter... filters)
Add the given filter(s).Method parameters in org.springframework.web.server.adapter with type arguments of type WebFilter Modifier and Type Method Description WebHttpHandlerBuilder
WebHttpHandlerBuilder. filters(Consumer<List<WebFilter>> consumer)
Manipulate the "live" list of currently configured filters.Uses of WebFilter in org.springframework.web.server.handler
Methods in org.springframework.web.server.handler that return types with arguments of type WebFilter Modifier and Type Method Description List<WebFilter>
DefaultWebFilterChain. getFilters()
List<WebFilter>
FilteringWebHandler. getFilters()
Return a read-only list of the configured filters.Constructors in org.springframework.web.server.handler with parameters of type WebFilter Constructor Description DefaultWebFilterChain(WebHandler handler, WebFilter... filters)
Deprecated.as of 5.1 this constructor is deprecated in favor ofDefaultWebFilterChain(WebHandler, List)
.Constructor parameters in org.springframework.web.server.handler with type arguments of type WebFilter Constructor Description DefaultWebFilterChain(WebHandler handler, List<WebFilter> filters)
Public constructor with the list of filters and the target handler to use.FilteringWebHandler(WebHandler handler, List<WebFilter> filters)
Constructor.