Servlet 4.0 - Apache Tomcat 9.0.80
All Classes Interface Summary Class Summary Enum Summary Exception Summary Annotation Types Summary
Provides the context for asynchronous request handling
Creates a cookie, a small amount of information sent by a servlet to a Web browser, saved by the browser, and later
sent back to the server.
Enumeration of dispatcher types.
A filter is an object that performs filtering tasks on either the request to a resource (a servlet or static
content), or on the response from a resource, or both.
A FilterChain is an object provided by the servlet container to the developer giving a view into the invocation chain
of a filtered request for a resource.
A filter configuration object used by a servlet container to pass information to a filter during initialization.
Interface through which a Filter may be further configured.
Interface through which a Filter registered via one of the addFilter methods on ServletContext may be further
Provides a base class that implements the Filter and FilterConfig interfaces to reduce boilerplate when writing new
Defines a generic, protocol-independent servlet.
This annotation represents the security constraints that are applied to all requests with HTTP protocol method types
that are not otherwise represented by a corresponding
for programmatic configuration of security constraints.
Provides a base class that implements the Filter interface and ensures that the Request and Response are of type
HttpServletRequest and HttpServletResponse respectively.
Specific security constraints can be applied to different types of request, differentiated by the HTTP protocol
method type by using this annotation inside the
Programmatic equivalent of a security constraint defined for a single HTTP method.
Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site.
Represents how the request from which this object was obtained was mapped to the associated servlet.
interface to provide request information for HTTP servlets.
Provides a convenient implementation of the HttpServletRequest interface that can be subclassed by developers wishing
to adapt the request to a Servlet.
interface to provide HTTP-specific functionality in sending a response.
Provides a convenient implementation of the HttpServletResponse interface that can be subclassed by developers
wishing to adapt the response from a Servlet.
Provides a way to identify a user across more than one page request or visit to a Web site and to store information
about that user.
Objects that are bound to a session may listen to container events notifying them that sessions will be passivated
and that session will be activated.
This listener interface can be implemented in order to get notifications of changes to the attribute lists of
sessions within this web application.
Events of this type are either sent to an object that implements
when it is bound
or unbound from a session, or to an
that has been configured in the deployment
descriptor when any attribute is bound, unbound or replaced in a session.
Causes an object to be notified when it is bound to or unbound from a session.
This is the class representing event notifications for changes to sessions within a web application.
Implementations of this interface are notified when an
's ID changes.
Implementations of this interface are notified of changes to the list of active sessions in a web application.
Interface between the HTTP upgrade process and the new protocol.
This interface exposes the JSP specific configuration information obtain ed from the deployment descriptors.
Represents the JSP property groups in the deployment descriptors.
Represents the ways that a request can be mapped to a servlet
This annotation is used to indicate that the
on which it is declared expects requests
to made using the
The programmatic equivalent of
used to configure multi-part handling
for a Servlet when registering a Servlet via code.
This class represents a part as uploaded to the server as part of a
multipart/form-data request body.
Builds a push request based on the
from which this builder was obtained.
Receives notification of read events when using non-blocking IO.
Common interface for the registration of Filters and Servlets.
Interface through which a Servlet or Filter registered via one of the addServlet or addFilter methods,
respectively, on ServletContext may be further configured.
Defines an object that receives requests from the client and sends them to any resource (such as a servlet, HTML
file, or JSP file) on the server.
Defines methods that all servlets must implement.
A servlet configuration object used by a servlet container to pass information to a servlet during initialization.
ServletContainerInitializers (SCIs) are registered via an entry in the file
META-INF/services/javax.servlet.ServletContainerInitializer that must be included in the JAR file that contains the
Defines a set of methods that a servlet uses to communicate with its servlet container, for example, to get the MIME
type of a file, dispatch requests, or write to a log file.
This is the event class for notifications about changes to the attributes of the servlet context of a web
Implementations of this interface receive notifications of changes to the attribute list on the servlet context of a
This is the event class for notifications about changes to the servlet context of a web application.
Implementations of this interface receive notifications about changes to the servlet context of the web application
they are part of.
Defines a general exception a servlet can throw when it encounters difficulty.
Provides an input stream for reading binary data from a client request, including an efficient
method for reading data one line at a time.
Provides an output stream for sending binary data to the client.
Interface through which a Servlet may be further configured.
Interface through which a Servlet registered via one of the addServlet methods on ServletContext may be further
Defines an object to provide client request information to a servlet.
This is the event class for notifications of changes to the attributes of the servlet request in an application.
A ServletRequestAttributeListener can be implemented by the developer interested in being notified of request
Events of this kind indicate lifecycle events for a ServletRequest.
A ServletRequestListener can be implemented by the developer interested in being notified of requests coming in and
out of scope in a web component.
Provides a convenient implementation of the ServletRequest interface that can be subclassed by developers wishing to
adapt the request to a Servlet.
Defines an object to assist a servlet in sending a response to the client.
Provides a convenient implementation of the ServletResponse interface that can be subclassed by developers wishing to
adapt the response from a Servlet.
Declare this annotation on a
implementation class to enforce security constraints on
HTTP protocol requests.
The container applies constraints to the URL patterns mapped to each Servlet which declares this annotation.
Represents the two possible values of the empty role semantic, active when a list of role names is empty.
Represents the two possible values of data transport, encrypted or not.
The programmatic equivalent of
used to configre security constraints
for a Servlet.
Configures the session cookies used by the web application associated with the ServletContext from which this
SessionCookieConfig was obtained.
Defines the permitted options for configuring the session tracking mode.
Represents a taglib descriptor definitions in the deployment descriptor.
Defines an exception that a servlet or filter throws to indicate that it is permanently or temporarily unavailable.
The annotation used to declare a Servlet
This annotation is used to declare the configuration of a
Receives notification of write events when using non-blocking IO.