Uses of Interface
org.springframework.web.server.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
-
Uses of WebFilter in org.springframework.web.cors.reactive
Modifier 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
Modifier 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
. -
Uses of WebFilter in org.springframework.web.reactive.function.server
Modifier and TypeMethodDescriptionHandlerStrategies.webFilters()
Return theWebFilters
to be used for filtering the request and response.Modifier and TypeMethodDescriptionAdd the given web filter to this builder. -
Uses of WebFilter in org.springframework.web.server.adapter
Modifier and TypeMethodDescriptionAdd the given filter(s).Modifier and TypeMethodDescriptionManipulate the "live" list of currently configured filters. -
Uses of WebFilter in org.springframework.web.server.handler
Modifier and TypeMethodDescriptionDefaultWebFilterChain.getFilters()
FilteringWebHandler.getFilters()
Return a read-only list of the configured filters.ModifierConstructorDescriptionDefaultWebFilterChain
(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
.