com.jmrosengard.xmlbroker.http
Class RequestMultiplexer

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--com.jmrosengard.xmlbroker.http.HttpConnector
                    |
                    +--com.jmrosengard.xmlbroker.http.RequestMultiplexer
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class RequestMultiplexer
extends HttpConnector

Dispatches the HTTP requests to the relevant Port, based on the SOAPAction HTTP-SOAP header field.

See Also:
Serialized Form

Field Summary
protected  PortRegistry reg
           
 
Fields inherited from class com.jmrosengard.xmlbroker.http.HttpConnector
SOAP_HTTP_HEADER_SOAPACTION, SOAP_HTTP_METHOD, SOAP_MEDIA_TYPE, xb_props
 
Fields inherited from class javax.servlet.http.HttpServlet
HEADER_IFMODSINCE, HEADER_LASTMOD, LSTRING_FILE, lStrings, METHOD_DELETE, METHOD_GET, METHOD_HEAD, METHOD_OPTIONS, METHOD_POST, METHOD_PUT, METHOD_TRACE
 
Fields inherited from class javax.servlet.GenericServlet
config
 
Constructor Summary
RequestMultiplexer()
           
 
Method Summary
 void doSoapPost(java.lang.String targetUri, java.io.BufferedReader inBuf, java.io.PrintWriter outBuf)
          Dispatch the SOAP request to an instance of the relevant Port.
 
Methods inherited from class com.jmrosengard.xmlbroker.http.HttpConnector
doGet, doPost, init
 
Methods inherited from class javax.servlet.http.HttpServlet
, doDelete, doHead, doOptions, doPut, doTrace, getAllDeclaredMethods, getLastModified, maybeSetLastModified, service, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

reg

protected PortRegistry reg
Constructor Detail

RequestMultiplexer

public RequestMultiplexer()
Method Detail

doSoapPost

public void doSoapPost(java.lang.String targetUri,
                       java.io.BufferedReader inBuf,
                       java.io.PrintWriter outBuf)
                throws java.io.IOException,
                       SoapReqException
Dispatch the SOAP request to an instance of the relevant Port.
Overrides:
doSoapPost in class HttpConnector