org.directwebremoting.extend
Class Calls
java.lang.Object
org.directwebremoting.extend.Calls
public class Calls
- extends java.lang.Object
The request made by the browser which consists of a number of function call
requests and some associated information like the request mode (XHR or
iframe).
- Author:
- Joe Walker [joe at getahead dot ltd dot uk]
Constructor Summary |
Calls()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Calls
public Calls()
getCallCount
public int getCallCount()
- How many calls are there is this request
- Returns:
- The total number of calls
getCall
public Call getCall(int index)
- Parameters:
index
- The index (starts at 0) of the call to fetch
- Returns:
- Returns the calls.
addCall
public void addCall(Call call)
- Add a call to the collection of calls we are about to make
- Parameters:
call
- The call to add
setBatchId
public void setBatchId(java.lang.String batchId)
- Parameters:
batchId
- The batchId to set.
getBatchId
public java.lang.String getBatchId()
- Returns:
- Returns the batchId.