jump to navigation

javax.servlet Package August 17, 2005

Posted by Coolguy in Servlets/Jsp.
trackback
  • 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
  • The Servlet interface is the central abstraction of the servlet API.
  • All servlets implement this interface either directly, or more commonly, by extending a class that implements the interface.
  • The two classes in the servlet API that implement the Servlet interface are GenericServlet and HttpServlet
  • The basic Servlet interface defines a service method for handling client
    requests. This method is called for each request that the servlet container routes to an instance of a servlet.

Interfaces

  • 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.
  • 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
  • ServletConfig
  • ServletContext
  • ServletContextAttributeListener : Implementations of this interface receive
    notifications of changes to the attribute list on the servlet context of a web application.
  • ServletContextListener : Implementations of this interface receive
    notifications about changes to the servlet context of the web application they are part of.
  • ServletRequest
  • ServletRequestAttributeListener : A ServletRequestAttributeListener can be implemented by the developer interested in being notified of request attribute changes.
  • ServletRequestListener : A ServletRequestListener can be implemented
    by the developer interested in being notified of requests coming in and out of scope in a web component.
  • ServletResponse
  • SingleThreadModel

Classes

  • GenericServlet
  • ServletContextAttributeEvent
  • ServletContextEvent
  • ServletInputStream
  • ServletOutputStream
  • ServletRequestAttributeEvent
  • ServletRequestEvent
  • ServletRequestWrapper
  • ServletResponseWrapper

Exceptions

  • ServletException
  • UnavailableException
Advertisements

Comments»

No comments yet — be the first.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: