Package | Description |
---|---|
org.springframework.web.filter |
Provides generic filter base classes allowing for bean-style configuration.
|
org.springframework.web.multipart.support |
Support classes for the multipart resolution framework.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractRequestLoggingFilter
Base class for
Filter s that perform logging operations before and after a request
is processed. |
class |
CharacterEncodingFilter
Servlet Filter that allows one to specify a character encoding for requests.
|
class |
CommonsRequestLoggingFilter
Simple request logging filter that writes the request URI
(and optionally the query string) to the Commons Log.
|
class |
CorsFilter
Filter 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. |
class |
DelegatingFilterProxy
Proxy for a standard Servlet Filter, delegating to a Spring-managed bean that
implements the Filter interface.
|
class |
ForwardedHeaderFilter
Extract values from "Forwarded" and "X-Forwarded-*" headers in order to wrap
and override the following from the request and response:
getServerName() ,
getServerPort() ,
getScheme() ,
isSecure() , and
sendRedirect(String) . |
class |
HiddenHttpMethodFilter
Filter that converts posted method parameters into HTTP methods,
retrievable via HttpServletRequest.getMethod() . |
class |
HttpPutFormContentFilter
Filter that makes form encoded data available through
the ServletRequest.getParameter*() family of methods during HTTP PUT
or PATCH requests. |
class |
OncePerRequestFilter
Filter base class that aims to guarantee a single execution per request
dispatch, on any servlet container.
|
class |
RelativeRedirectFilter
Overrides
HttpServletResponse.sendRedirect(String) and handles it by
setting the HTTP status and "Location" headers. |
class |
RequestContextFilter
Servlet Filter that exposes the request to the current thread,
through both
LocaleContextHolder and
RequestContextHolder . |
class |
ServletContextRequestLoggingFilter
Simple request logging filter that writes the request URI
(and optionally the query string) to the ServletContext log.
|
class |
ShallowEtagHeaderFilter
Filter that generates an ETag value based on the
content on the response. |
Modifier and Type | Class and Description |
---|---|
class |
MultipartFilter
Servlet Filter that resolves multipart requests via a
MultipartResolver . |