com.bankframe.ei.channel.server
Class HttpServer

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended bycom.bankframe.ei.servlet.EonServlet
              extended bycom.bankframe.ei.channel.server.HttpServer
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.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

Constructor Summary
HttpServer()
           
 
Method Summary
 void init(javax.servlet.ServletConfig config)
          This method does some intialization (sets up codecs/datapackethandler)
 void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          This method delegates the request to the doPost() or doGet() method.
 
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
 

Constructor Detail

HttpServer

public HttpServer()
Method Detail

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
This method does some intialization (sets up codecs/datapackethandler)

Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class EonServlet
Throws:
javax.servlet.ServletException

service

public void service(javax.servlet.http.HttpServletRequest req,
                    javax.servlet.http.HttpServletResponse res)
             throws javax.servlet.ServletException,
                    java.io.IOException
This method delegates the request to the doPost() or doGet() method.

Overrides:
service in class EonServlet
Parameters:
req - The request object
res - The response object
Throws:
javax.servlet.ServletException
java.io.IOException


Copyright © 2005, 2007, Oracle. All rights reserved.