public class ServiceTimeoutServlet
extends javax.servlet.http.HttpServlet
Constructor and Description |
---|
ServiceTimeoutServlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the HTTP
GET method. |
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the HTTP
POST method. |
String |
getServletInfo()
Returns a short description of the servlet.
|
protected void |
processRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Processes requests for both HTTP
GET and
POST methods. |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
protected void processRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
GET
and
POST
methods.request
- servlet requestresponse
- servlet responsejavax.servlet.ServletException
- if a servlet-specific error occursIOException
- if an I/O error occursprotected void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
GET
method.doGet
in class javax.servlet.http.HttpServlet
request
- servlet requestresponse
- servlet responsejavax.servlet.ServletException
- if a servlet-specific error occursIOException
- if an I/O error occursprotected void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
POST
method.doPost
in class javax.servlet.http.HttpServlet
request
- servlet requestresponse
- servlet responsejavax.servlet.ServletException
- if a servlet-specific error occursIOException
- if an I/O error occurspublic String getServletInfo()
getServletInfo
in interface javax.servlet.Servlet
getServletInfo
in class javax.servlet.GenericServlet
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.