com.bankframe.fe.statemachine.ext.connectors.servlet
Class EntryServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.bankframe.fe.statemachine.ext.connectors.servlet.EntryServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class EntryServlet
- extends HttpServlet
- See Also:
- Serialized Form
EntryServlet
public EntryServlet()
delegateToRequestManager
public void delegateToRequestManager(HttpServletRequest req,
HttpServletResponse res)
throws ServletException,
IOException
- This method is called by doGet and doPost to handle a request.
This simply delegates handling of the request to the RequestManager.
- Throws:
ServletException
IOException
doGet
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- This is the servlet doGet method.
This delegates the handling of the request to the method delegateToRequestManager,
which further delegates to the RequestManager.
- Overrides:
doGet
in class HttpServlet
- Parameters:
request
- HttpServletRequestresponse
- HttpServletResponse
- Throws:
ServletException
IOException
doPost
public void doPost(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- This is the servlet doPost method.
This delegates the handling of the request to the method delegateToRequestManager,
which further delegates to the RequestManager.
- Overrides:
doPost
in class HttpServlet
- Parameters:
request
- HttpServletRequestresponse
- HttpServletResponse
- Throws:
ServletException
IOException
init
public void init(ServletConfig config)
throws ServletException
- This method copies the init parameters named in the initParameters attribute
from the ServletConfig into the properties attribute.
This properties attribute is passed into the RequestManager on all
requests through this servlet.
- Specified by:
init
in interface Servlet
- Overrides:
init
in class GenericServlet
- Parameters:
config
- .
- Throws:
ServletException
- .
Copyright © 2005, 2007, Oracle. All rights reserved.