## Uses of Package
javax.servlet

Packages that use javax.servlet
javax.servlet: The javax.servlet package contains a number of classes and interfaces that describe and define the contracts between a servlet class and the runtime environment provided for an instance of such a class by a conforming servlet container.
javax.servlet.http: The javax.servlet.http package contains a number of classes and interfaces that describe and define the contracts between a servlet class running under the HTTP protocol and the runtime environment provided for an instance of such a class by a conforming servlet container.

Classes in javax.servlet used by javax.servlet
AsyncContext Class representing the execution context for an asynchronous operation that was initiated on a ServletRequest.
AsyncEvent Event that gets fired when the asynchronous operation initiated on a ServletRequest (via a call to `ServletRequest.startAsync()` or `ServletRequest.startAsync(ServletRequest, ServletResponse)`) has completed, timed out, or produced an error.
AsyncListener Listener that will be notified in the event that an asynchronous operation initiated on a ServletRequest to which the listener had been added has completed, timed out, or resulted in an error.
DispatcherType Enumeration of filter dispatcher types.
Filter 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.
FilterChain 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.
FilterConfig A filter configuration object used by a servlet container to pass information to a filter during initialization.
FilterRegistration Interface through which a `Filter` may be further configured.
FilterRegistration.Dynamic Interface through which a `Filter` registered via one of the `addFilter` methods on `ServletContext` may be further configured.
HttpConstraintElement Java Class representation of an `HttpConstraint` annotation value.
HttpMethodConstraintElement Java Class represntation of an `HttpMethodConstraint` annotation value.
MultipartConfigElement Java Class represntation of an `MultipartConfig` annotation value.
ReadListener This class represents a call-back mechanism that will notify implementations as HTTP request data becomes available to be read without blocking.
Registration Interface through which a `Servlet` or `Filter` may be further configured.
Registration.Dynamic Interface through which a `Servlet` or `Filter` registered via one of the `addServlet` or `addFilter` methods, respectively, on `ServletContext` may be further configured.
RequestDispatcher 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.
Servlet Defines methods that all servlets must implement.
ServletConfig A servlet configuration object used by a servlet container to pass information to a servlet during initialization.
ServletContext 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.
ServletContextAttributeEvent Event class for notifications about changes to the attributes of the ServletContext of a web application.
ServletContextEvent This is the event class for notifications about changes to the servlet context of a web application.
ServletException Defines a general exception a servlet can throw when it encounters difficulty.
ServletInputStream Provides an input stream for reading binary data from a client request, including an efficient `readLine` method for reading data one line at a time.
ServletOutputStream Provides an output stream for sending binary data to the client.
ServletRegistration Interface through which a `Servlet` may be further configured.
ServletRegistration.Dynamic Interface through which a `Servlet` registered via one of the `addServlet` methods on `ServletContext` may be further configured.
ServletRequest Defines an object to provide client request information to a servlet.
ServletRequestAttributeEvent This is the event class for notifications of changes to the attributes of the servlet request in an application.
ServletRequestEvent Events of this kind indicate lifecycle events for a ServletRequest.
ServletResponse Defines an object to assist a servlet in sending a response to the client.
ServletSecurityElement Java Class represntation of a `ServletSecurity` annotation value.
SessionCookieConfig Class that may be used to configure various properties of cookies used for session tracking purposes.
SessionTrackingMode Enumeration of session tracking modes.
WriteListener Callback notification mechanism that signals to the developer it's possible to write content without blocking.

Classes in javax.servlet used by javax.servlet.http
GenericServlet Defines a generic, protocol-independent servlet.
Servlet Defines methods that all servlets must implement.
ServletConfig A servlet configuration object used by a servlet container to pass information to a servlet during initialization.
ServletContext 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.
ServletException Defines a general exception a servlet can throw when it encounters difficulty.
ServletInputStream Provides an input stream for reading binary data from a client request, including an efficient `readLine` method for reading data one line at a time.
ServletOutputStream Provides an output stream for sending binary data to the client.
ServletRequest Defines an object to provide client request information to a servlet.
ServletRequestWrapper Provides a convenient implementation of the ServletRequest interface that can be subclassed by developers wishing to adapt the request to a Servlet.
ServletResponse Defines an object to assist a servlet in sending a response to the client.
ServletResponseWrapper Provides a convenient implementation of the ServletResponse interface that can be subclassed by developers wishing to adapt the response from a Servlet.

Copyright © 2012 GlassFish Community. All Rights Reserved.