org.directwebremoting.dwrp
Class CallBatch

java.lang.Object
  extended by org.directwebremoting.dwrp.Batch
      extended by org.directwebremoting.dwrp.CallBatch

public class CallBatch
extends Batch

A container for all the by-products of an HttpRequest parse

Author:
Joe Walker [joe at getahead dot ltd dot uk]

Constructor Summary
CallBatch(javax.servlet.http.HttpServletRequest request)
          Parse an inbound request into a Calls object
CallBatch(java.util.Map<java.lang.String,FormField> allParameters, boolean get)
          Ctor for the Bayeux client which doesn't have requests and responses
 
Method Summary
 Calls getCalls()
           
 java.util.List<InboundContext> getInboundContexts()
           
 java.lang.String toString()
           
 
Methods inherited from class org.directwebremoting.dwrp.Batch
getDwrSessionId, getExtraParameters, getPage, getScriptSessionId, getWindowName, isGet, isMultipartContent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CallBatch

public CallBatch(javax.servlet.http.HttpServletRequest request)
          throws ServerException
Parse an inbound request into a Calls object

Parameters:
request - The original browser's request
Throws:
ServerException

CallBatch

public CallBatch(java.util.Map<java.lang.String,FormField> allParameters,
                 boolean get)
Ctor for the Bayeux client which doesn't have requests and responses

Parameters:
allParameters - A set of name value pairs
get - This this request come from a get request
Throws:
java.lang.SecurityException - If the parameters can't be decoded
Method Detail

getInboundContexts

public java.util.List<InboundContext> getInboundContexts()
Returns:
the inboundContexts

getCalls

public Calls getCalls()
Returns:
the calls

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Copyright 2008