com.bankframe.fe.statemachine.ext.connectors.servlet
Class EntryServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.bankframe.fe.statemachine.ext.connectors.servlet.EntryServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class EntryServlet
extends HttpServlet

See Also:
Serialized Form

Constructor Summary
EntryServlet()
           
 
Method Summary
 void delegateToRequestManager(HttpServletRequest req, HttpServletResponse res)
          This method is called by doGet and doPost to handle a request.
 void doGet(HttpServletRequest request, HttpServletResponse response)
          This is the servlet doGet method.
 void doPost(HttpServletRequest request, HttpServletResponse response)
          This is the servlet doPost method.
 void init(ServletConfig config)
          This method copies the init parameters named in the initParameters attribute from the ServletConfig into the properties attribute.
 
Methods inherited from class javax.servlet.http.HttpServlet
service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntryServlet

public EntryServlet()
Method Detail

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 - HttpServletRequest
response - 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 - HttpServletRequest
response - 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.