Package com.sun.ejb.timers
Class TimerWelcomeServlet
- java.lang.Object
-
- jakarta.servlet.GenericServlet
-
- jakarta.servlet.http.HttpServlet
-
- com.sun.ejb.timers.TimerWelcomeServlet
-
- All Implemented Interfaces:
jakarta.servlet.Servlet
,jakarta.servlet.ServletConfig
,Serializable
public class TimerWelcomeServlet extends jakarta.servlet.http.HttpServlet
- Author:
- mvatkina
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TimerWelcomeServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
Handles the HTTPGET
method.protected void
doPost(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
Handles the HTTPPOST
method.String
getServletInfo()
Returns a short description of the servlet.protected void
processRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.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
-
-
-
-
Method Detail
-
processRequest
protected void processRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws jakarta.servlet.ServletException, IOException
Processes requests for both HTTPGET
andPOST
methods.- Parameters:
request
- servlet requestresponse
- servlet response- Throws:
jakarta.servlet.ServletException
IOException
-
doGet
protected void doGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws jakarta.servlet.ServletException, IOException
Handles the HTTPGET
method.- Overrides:
doGet
in classjakarta.servlet.http.HttpServlet
- Parameters:
request
- servlet requestresponse
- servlet response- Throws:
jakarta.servlet.ServletException
IOException
-
doPost
protected void doPost(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws jakarta.servlet.ServletException, IOException
Handles the HTTPPOST
method.- Overrides:
doPost
in classjakarta.servlet.http.HttpServlet
- Parameters:
request
- servlet requestresponse
- servlet response- Throws:
jakarta.servlet.ServletException
IOException
-
getServletInfo
public String getServletInfo()
Returns a short description of the servlet.- Specified by:
getServletInfo
in interfacejakarta.servlet.Servlet
- Overrides:
getServletInfo
in classjakarta.servlet.GenericServlet
-
-