The Javax.servlet.HTTP package Java Help

The Javax.servlet.HTTP package

The Javax.servlet.http package contains several. interfaces and classes that are commonly used by servlet developers. You wiJI see that its functionality makes it easy to build servlcts that work with HTIP requests and responses. The following table summarizes the interfaces that are provided in this packa.ge:

Interface

Http Servlet Request
Http Servlet Rcsponse

Http Session
Http Scssion Binding Listener
Http Scssion Contcxt

Description 

Enables servlets to read data from anHITP request.
Enables servlets to write data to an HTTP response.

Allows session data to be read and written.
Informs an object that it is bound to or unbound from a session.
Allows sessions to be managed.

The followtng table summarizes the classes that are provided in this package. The most important of these is HttpServIet. Scrvlct developers typically extend this class in order to process HTTP requests;

Class
Cookie
Http Servlet
Http Scssion Binding Evcnt
Http Utils

Description
Allows state information Lobe stored on a client machine..
Provides methods to handle
HTTP requests and responses.
Indicates when a listener is bound to or unbound from a session value.
Declares utility methods for settler,

JavaHelpOnline.com

  • Feel free to send us an inquiry, we will reply back in hours.
 

Verification

Posted on September 18, 2014 in Servlets

Share the Story

About the Author

Back to Top
Share This