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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoGet(HttpServletRequest request, HttpServletResponse response) Handles the HTTPGETmethod.protected voiddoPost(HttpServletRequest request, HttpServletResponse response) Handles the HTTPPOSTmethod.Returns a short description of the servlet.protected static voidprocessRequest(HttpServletRequest request, HttpServletResponse response) Processes requests for both HTTPGETandPOSTmethods.Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, init, service, serviceMethods 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 HTTPGETandPOSTmethods.- Parameters:
request- servlet requestresponse- servlet response- Throws:
IOException- if an I/O error occurs
-
doGet
Handles the HTTPGETmethod.- Overrides:
doGetin classHttpServlet- Parameters:
request- servlet requestresponse- servlet response- Throws:
IOException- if an I/O error occurs
-
doPost
Handles the HTTPPOSTmethod.- Overrides:
doPostin 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:
getServletInfoin interfaceServlet- Overrides:
getServletInfoin classGenericServlet- Returns:
- a String containing servlet description
-