Uses of Interface
org.springframework.web.server.WebFilter
Packages that use WebFilter
Package
Description
Support for testing Spring WebFlux server endpoints via
WebTestClient
.Reactive support for CORS (Cross-Origin Resource Sharing),
based on a common
CorsProcessor
strategy.WebFilter
implementations for use in
reactive web applications.Provides the types that make up Spring's functional web framework for Reactive environments.
Implementations to adapt to the underlying
org.springframework.http.client.reactive
reactive HTTP adapter
and HttpHandler
.Provides common WebHandler implementations and a
WebHandlerDecorator
.-
Uses of WebFilter in org.springframework.test.web.reactive.server
Methods in org.springframework.test.web.reactive.server with parameters of type WebFilter -
Uses of WebFilter in org.springframework.web.cors.reactive
Classes in org.springframework.web.cors.reactive that implement WebFilterModifier and TypeClassDescriptionclass
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.class
WebFilter that handles pre-flight requests through aPreFlightRequestHandler
and bypasses the rest of the chain. -
Uses of WebFilter in org.springframework.web.filter.reactive
Classes in org.springframework.web.filter.reactive that implement WebFilterModifier and TypeClassDescriptionclass
ReactiveWebFilter
that converts posted method parameters into HTTP methods, retrievable viaHttpRequest.getMethod()
.class
Deprecated, for removal: This API element is subject to removal in a future version.class
Inserts an attribute in the ReactorContext
that makes the currentServerWebExchange
available under the attribute nameServerWebExchangeContextFilter.EXCHANGE_CONTEXT_ATTRIBUTE
.final class
WebFilter
that modifies the URL, and then redirects or wraps the request to apply the change. -
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 WebFilterModifier and TypeMethodDescriptionHandlerStrategies.webFilters()
Return theWebFilters
to be used for filtering the request and response.Methods in org.springframework.web.reactive.function.server with parameters of type WebFilterModifier and TypeMethodDescriptionAdd 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 WebFilterModifier and TypeMethodDescriptionAdd the given filter(s).Method parameters in org.springframework.web.server.adapter with type arguments of type WebFilterModifier and TypeMethodDescriptionManipulate 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 WebFilterModifier and TypeMethodDescriptionDefaultWebFilterChain.getFilters()
FilteringWebHandler.getFilters()
Return a read-only list of the configured filters.Constructor parameters in org.springframework.web.server.handler with type arguments of type WebFilterModifierConstructorDescriptionDefaultWebFilterChain
(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.
WebHttpHandlerBuilder
.