Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.aendvari.satyr.servlet.gateway
Class HttpFormGateway  view HttpFormGateway download HttpFormGateway.java

java.lang.Object
  extended bycom.aendvari.satyr.servlet.gateway.HttpFormGateway

public class HttpFormGateway
extends java.lang.Object

An HTTP form POST to message gateway. This class provides various extension points to allow application specific processing to be performed during message processing.


Nested Class Summary
static interface HttpFormGateway.ContextModifier
          Defines an interface to provide a context modification hook into the message processing.
static interface HttpFormGateway.Fields
          Constants for POST field processing.
static interface HttpFormGateway.MessageModifier
          Defines an interface to provide a message modification hook into the message processing.
static interface HttpFormGateway.Processor
          Defines an interface to provide a extension hook into the message processing.
 
Constructor Summary
HttpFormGateway()
           
 
Method Summary
static void process(com.aendvari.hermes.broker.MessageBroker broker, javax.servlet.ServletConfig servletConfig, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, HttpFormGateway.Processor processor, HttpFormGateway.ContextModifier contextModifier, HttpFormGateway.MessageModifier messageModifier)
          Processes an HTTP request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpFormGateway

public HttpFormGateway()
Method Detail

process

public static void process(com.aendvari.hermes.broker.MessageBroker broker,
                           javax.servlet.ServletConfig servletConfig,
                           javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response,
                           HttpFormGateway.Processor processor,
                           HttpFormGateway.ContextModifier contextModifier,
                           HttpFormGateway.MessageModifier messageModifier)
                    throws javax.servlet.ServletException
Processes an HTTP request. A HttpFormGateway.Processor may be provided to add additional functionality during processing. A HttpFormGateway.ContextModifier may be provided to add addition information to the com.aendvari.hermes.broker.MessageBrokerContext created during processing. A HttpFormGateway.MessageModifier may be provided to add addition information to Messages published during processing.