Class ServiceTimeoutServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.apache.syncope.fit.buildtools.ServiceTimeoutServlet
- All Implemented Interfaces:
Servlet
,ServletConfig
,Serializable
Just used to verify a connector request timeout.
- See Also:
-
Field Summary
Fields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doGet
(HttpServletRequest request, HttpServletResponse response) Handles the HTTPGET
method.protected void
doPost
(HttpServletRequest request, HttpServletResponse response) Handles the HTTPPOST
method.Returns a short description of the servlet.protected static void
processRequest
(HttpServletRequest request, HttpServletResponse response) Processes requests for both HTTPGET
andPOST
methods.Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, init, service, service
Methods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log
-
Constructor Details
-
ServiceTimeoutServlet
public ServiceTimeoutServlet()
-
-
Method Details
-
processRequest
protected static void processRequest(HttpServletRequest request, HttpServletResponse response) throws IOException Processes requests for both HTTPGET
andPOST
methods.- Parameters:
request
- servlet requestresponse
- servlet response- Throws:
IOException
- if an I/O error occurs
-
doGet
Handles the HTTPGET
method.- Overrides:
doGet
in classHttpServlet
- Parameters:
request
- servlet requestresponse
- servlet response- Throws:
IOException
- if an I/O error occurs
-
doPost
Handles the HTTPPOST
method.- Overrides:
doPost
in classHttpServlet
- Parameters:
request
- servlet requestresponse
- servlet response- Throws:
IOException
- if an I/O error occurs
-
getServletInfo
Returns a short description of the servlet.- Specified by:
getServletInfo
in interfaceServlet
- Overrides:
getServletInfo
in classGenericServlet
- Returns:
- a String containing servlet description
-