com.bankframe.ei.servlet
Class XMLServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.bankframe.ei.servlet.EonServlet
com.bankframe.ei.servlet.XMLServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
Deprecated. use the new client connectivity framework instead
- public class XMLServlet
- extends EonServlet
This class is the servlet that handles all bankframe client requests in XML
format. It uses the EXMLServletCommsManager to format and unformat between
XML and DataPackets. It delegates the task of routing requests to the
com.bankframe.ei.servlet.ServletDataPacketHandler class.
- See Also:
- Serialized Form
Method Summary |
void |
init(javax.servlet.ServletConfig config)
Deprecated. This method initializes the global variables that are used in the servlet. |
void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deprecated. This method is the entry point to XMLServlet. |
Methods inherited from class com.bankframe.ei.servlet.EonServlet |
log |
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 |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLServlet
public XMLServlet()
- Deprecated.
init
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
- Deprecated.
- This method initializes the global variables that are used in the servlet.
- Specified by:
init
in interface javax.servlet.Servlet
- Overrides:
init
in class EonServlet
- Parameters:
config
- The ServletConfig object obtained from the requesting client
- Throws:
javax.servlet.ServletException
- thworn if the servlet cannot be initialized
service
public void service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Deprecated.
- This method is the entry point to XMLServlet. This method utilizes the ServletDataPacketHandler
and the EXMLServletCommsManager to unformat DataPackets, and pass them on to the
Routing Manager. It then formats the response datapackets back into XML to
return to the client that made the request.
- Overrides:
service
in class EonServlet
- Parameters:
request
- the Http servlet request object obtained from the clientresponse
- the Http servlet response object obtained from the client
- Throws:
javax.servlet.ServletException
java.io.IOException
Copyright © 2005, 2007, Oracle. All rights reserved.