org.directwebremoting.dwrp
Class CallBatch
java.lang.Object
org.directwebremoting.dwrp.Batch
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 |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 pairsget - This this request come from a get request
- Throws:
java.lang.SecurityException - If the parameters can't be decoded
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