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

Quick Search    Search Deep

com.aendvari.satyr.servlet.gateway.tethys
Class MessageGateway  view MessageGateway download MessageGateway.java

java.lang.Object
  extended bycom.aendvari.satyr.servlet.gateway.tethys.MessageGateway

public class MessageGateway
extends java.lang.Object

An HTTP form POST to message gateway. This supports various tethys features for message handling and field parsing.


Nested Class Summary
static class MessageGateway.Processor
          Extracts tethys specific information from the HTTP POST.
 
Field Summary
protected static MessageGateway.Processor httpProcessor
          Processing extension.
 
Constructor Summary
MessageGateway()
           
 
Method Summary
protected static void addFieldToMessages(java.util.HashMap messagesMap, java.lang.String fieldName, java.lang.String fieldValue)
          Adds the given field and value to all messages in the given map.
static void process(com.aendvari.hermes.broker.MessageBroker broker, javax.servlet.ServletConfig servletConfig, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, com.aendvari.satyr.servlet.gateway.HttpFormGateway.Processor processor, com.aendvari.satyr.servlet.gateway.HttpFormGateway.ContextModifier contextModifier, com.aendvari.satyr.servlet.gateway.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
 

Field Detail

httpProcessor

protected static MessageGateway.Processor httpProcessor
Processing extension.

Constructor Detail

MessageGateway

public MessageGateway()
Method Detail

addFieldToMessages

protected static void addFieldToMessages(java.util.HashMap messagesMap,
                                         java.lang.String fieldName,
                                         java.lang.String fieldValue)
Adds the given field and value to all messages in the given map.


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,
                           com.aendvari.satyr.servlet.gateway.HttpFormGateway.Processor processor,
                           com.aendvari.satyr.servlet.gateway.HttpFormGateway.ContextModifier contextModifier,
                           com.aendvari.satyr.servlet.gateway.HttpFormGateway.MessageModifier messageModifier)
                    throws javax.servlet.ServletException
Processes an HTTP request.