Top Classes
module tomcat.embed.core

Package org.apache.catalina.filters


Class Summary

Modifier and TypeClass and Description
public class
AddDefaultCharsetFilter

Filter that explicitly sets the default character set for media subtypes of the "text" type to ISO-8859-1, or another user defined character set.

public class
Constants

Manifest constants for this Java package.

public class
CorsFilter

A jakarta.servlet.Filter that enable client-side cross-origin requests by implementing W3C's CORS (Cross-Origin Resource Sharing) specification for resources.

public class
CsrfPreventionFilter

Provides basic CSRF protection for a web application.

public abstract class
public class
ExpiresFilter

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'.

public class
FailedRequestFilter

Filter that will reject requests if there was a failure during parameter parsing.

public abstract class
FilterBase

Base class for filters that provides generic initialisation and a simple no-op destruction.

public class
HttpHeaderSecurityFilter

Provides a single configuration point for security measures that required the addition of one or more HTTP headers to the response.

public class
RateLimitFilter

Servlet filter that can help mitigate Denial of Service (DoS) and Brute Force attacks by limiting the number of a requests that are allowed from a single IP address within a time window (also referred to as a time bucket), e.g. 300 Requests per 60 seconds.

public class
RemoteAddrFilter

Concrete implementation of RequestFilter that filters based on the string representation of the remote client's IP address.

public class
public class
RemoteHostFilter

Concrete implementation of RequestFilter that filters based on the remote client's host name.

public class
RemoteIpFilter

Servlet filter to integrate "X-Forwarded-For" and "X-Forwarded-Proto" HTTP headers.

public class
RequestDumperFilter

Implementation of a Filter that logs interesting contents from the specified Request (before processing) and the corresponding Response (after processing).

public abstract class
RequestFilter

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.

public class
RestCsrfPreventionFilter

Provides basic CSRF protection for REST APIs.

public class
SessionInitializerFilter

A jakarta.servlet.Filter that initializes the HttpSession for the HttpServletRequest by calling its getSession() method.

public class
SetCharacterEncodingFilter

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.

public class
WebdavFixFilter

Filter that attempts to force MS WebDAV clients connecting on port 80 to use a WebDAV client that actually works.