That HttpServlet Class Java Help

 That HttpServlet Class

The Http Servlet class extends Generic it is commonly used when lopil  servlets that receive and process HTTP’ flush The methods of the  cLass are summarized here

 Method

void doDe!ete(HttpServletRcquest req,

 HttpServletResponse res) throwsKrlixception, ScrvletException
void doGet(HttpServletRequ~st rcq,

HttpServletResponsc res) throws IOException, SerYletExceptio~
void doOptions(HttpServletRequest req,
HttpServletRcsponse res) throws IOExce’ption, ServletException
void doPost(HttpServletRequcst req,
HttpServletRcsponsc res) throws IOException, ServlctException
void dOPut(HttpServletRequest req,
HttpServlctResponse r1’5) throws IOException, ServletExccption
void doTrace(HttpScrvletR”cquest req
HttpServlctResponse res) throws IOExcep!ion, ServlctException
long getLastModi£ied(HttpServletRequest rL’q)
void scrvke(Ht~ervlctRequest rcq
HttpServletResponse res) throws IOException, SetvletException

Description
Performs an HTTP DELETE.
Performs an HTTP GET.
Performs an HTTP OPTIONS.
Performs an HTTP POST.
Performs an HTTP PUT.
Performs an HTTP TRACE.

Returns the time in milliseconds since midnight, January 1, 1970, UTC) when the requested resource was last modified. Called by the server when HTTP request arrives for servlet The arguments provide access to the HTTP request and response, respectively:

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