com.bankframe.ei.channel.server
Class HttpServer
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.bankframe.ei.servlet.EonServlet
com.bankframe.ei.channel.server.HttpServer
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
- Direct Known Subclasses:
- ForwardTransactionServlet, ForwardTransactionServlet, HttpBoomarangServer, URLRewritingServer
public class HttpServer
- extends EonServlet
This is the servlet that listens for HTTP requests. It handles
a variety of diferently encoded requests. It however does not
accept requests from html forms via jsps. There is a dedicated
server for this task. All HTTP requests contain a content-type
field in their header. The header is examined and the request
is decoded according to the content type found.
- See Also:
- Serialized Form
Methods inherited from class com.bankframe.ei.servlet.EonServlet |
log |
HttpServer
public HttpServer()
init
public void init(ServletConfig config)
throws ServletException
- This method does some intialization (sets up codecs/datapackethandler)
- Specified by:
init
in interface Servlet
- Overrides:
init
in class EonServlet
- Throws:
ServletException
service
public void service(HttpServletRequest req,
HttpServletResponse res)
throws ServletException,
IOException
- This method delegates the request to the doPost() or doGet() method.
- Overrides:
service
in class EonServlet
- Parameters:
req
- The request objectres
- The response object
- Throws:
ServletException
IOException
Copyright © 2005, 2007, Oracle. All rights reserved.