Package | Description |
---|---|
org.springframework.web.cors.reactive |
Reactive support for CORS (Cross-Origin Resource Sharing),
based on a common
CorsProcessor strategy. |
org.springframework.web.filter.reactive |
WebFilter implementations for use in
reactive web applications. |
org.springframework.web.server.adapter |
Implementations to adapt to the underlying
org.springframework.http.client.reactive reactive HTTP adapter
and HttpHandler . |
org.springframework.web.server.handler |
Provides common WebHandler implementations and a
WebHandlerDecorator . |
Modifier and Type | Class and Description |
---|---|
class |
CorsWebFilter
WebFilter that handles CORS preflight requests and intercepts
CORS simple and actual requests thanks to a CorsProcessor implementation
(DefaultCorsProcessor by default) in order to add the relevant CORS
response headers (like Access-Control-Allow-Origin ) using the provided
CorsConfigurationSource (for example an UrlBasedCorsConfigurationSource
instance. |
Modifier and Type | Class and Description |
---|---|
class |
ForwardedHeaderFilter
Extract values from "Forwarded" and "X-Forwarded-*" headers in order to change
and override
HttpRequest.getURI() . |
class |
HiddenHttpMethodFilter
Reactive
WebFilter that converts posted method parameters into HTTP methods,
retrievable via HttpRequest.getMethod() . |
Modifier and Type | Method and Description |
---|---|
WebHttpHandlerBuilder |
WebHttpHandlerBuilder.filter(WebFilter... filters)
Add the given filter(s).
|
Modifier and Type | Method and Description |
---|---|
WebHttpHandlerBuilder |
WebHttpHandlerBuilder.filters(java.util.function.Consumer<java.util.List<WebFilter>> consumer)
Manipulate the "live" list of currently configured filters.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<WebFilter> |
DefaultWebFilterChain.getFilters() |
java.util.List<WebFilter> |
FilteringWebHandler.getFilters()
Return a read-only list of the configured filters.
|
Constructor and Description |
---|
DefaultWebFilterChain(WebHandler handler,
WebFilter... filters) |
Constructor and Description |
---|
FilteringWebHandler(WebHandler webHandler,
java.util.List<WebFilter> filters)
Constructor.
|