站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java Platform, Enterprise Edition v1.4 API Specifications

javax.servlet (Java 2 Platform Ent. Ed. v1.4) - Java Platform, Enterprise Edition v1.4 API Specifications

JavaTM 2 Platform
Ent. Ed. v1.4

Package javax.servlet

The javax.servlet package contains a number of classes and interfaces that describe and define the contr acts between a servlet class and the runtime environment provided for an insta nce of such a class by a conforming servlet container.

See:
          Description

Interface Summary
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 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.
ServletContextAttributeListener Implementations of this interface recieve notifications of changes to the attribute list on the servlet context of a web application.
ServletContextListener Implementations of this interface recieve notifications about changes to the servlet context of the web application they are part of.
ServletRequest Defines an object to provide client request information to a servlet.
ServletRequestAttributeListener Implementations of this interface receive notifications of changes to the attribute list on the servlet request of a web application.
ServletRequestListener Implementations of this interface recieve notifications about changes to the servlet request of the web application they are part of.
ServletResponse Defines an object to assist a servlet in sending a response to the client.
SingleThreadModel Deprecated. As of Java Servlet API 2.4, with no direct replacement.
 

Class Summary
GenericServlet Defines a generic, protocol-independent servlet.
ServletContextAttributeEvent This is the event class for notifications about changes to the attributes of the servlet context of a web application.
ServletContextEvent This is the event class for notifications about changes to the servlet context of a web application.
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.
ServletRequestAttributeEvent This is the event class for notifications about changes to the attributes of the servlet request of a web application.
ServletRequestEvent This is the event class for notifications about changes to the servlet request of a web application.
ServletRequestWrapper Provides a convenient implementation of the ServletRequest interface that can be subclassed by developers wishing to adapt the request to a Servlet.
ServletResponseWrapper Provides a convenient implementation of the ServletResponse interface that can be subclassed by developers wishing to adapt the response from a Servlet.
 

Exception Summary
ServletException Defines a general exception a servlet can throw when it encounters difficulty.
UnavailableException Defines an exception that a servlet or filter throws to indicate that it is permanently or temporarily unavailable.
 

Package javax.servlet Description

The javax.servlet package contains a number of classes and interfaces that describe and define the contr acts between a servlet class and the runtime environment provided for an insta nce of such a class by a conforming servlet container.


JavaTM 2 Platform
Ent. Ed. v1.4

Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.