ClassDescriptionFilter that explicitly sets the default character set for media subtypes of the "text" type to ISO-8859-1, or another user defined character set.Wrapper that adds a character set for text media types if no character set is specified.Manifest constants for this Java package.A
Filterthat enable client-side cross-origin requests by implementing W3C's CORS (Cross-Origin Resource Sharing) specification for resources.Enumerates varies types of CORS requests.Provides basic CSRF protection for a web application.Despite its name, this is a FIFO cache not an LRU cache.ExpiresFilter is a Java Servlet API port of Apache mod_expires to add '
Expires' and '
Cache-Control: max-age=' headers to HTTP response according to its '
Content-Type'.Duration composed of an
ExpiresFilter.Duration.unitDuration unitMain piece of configuration of the filter.Expiration configuration starting point.Filter that will reject requests if there was a failure during parameter parsing.Base class for filters that provides generic initialisation and a simple no-op destruction.Provides a single configuration point for security measures that required the addition of one or more HTTP headers to the response.Concrete implementation of
RequestFilterthat filters based on the string representation of the remote client's IP address.Concrete implementation of
RequestFilterthat filters based on the remote client's host name.Servlet filter to integrate "X-Forwarded-For" and "X-Forwarded-Proto" HTTP headers.Implementation of a Filter that logs interesting contents from the specified Request (before processing) and the corresponding Response (after processing).Implementation of a Filter that performs filtering based on comparing the appropriate request property (selected based on which subclass you choose to configure into your Container's pipeline) against the regular expressions configured for this Filter.Provides basic CSRF protection for REST APIs.A
Filterthat initializes the
HttpServletRequestby calling its getSession() method.Example filter that sets the character encoding to be used in parsing the incoming request, either unconditionally or only if the client did not specify a character encoding.Filter that attempts to force MS WebDAV clients connecting on port 80 to use a WebDAV client that actually works.