uk.ltd.getahead.dwr
Class Calls
java.lang.Object
uk.ltd.getahead.dwr.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
isXhrMode
public boolean isXhrMode()
- Returns:
- Returns the xhrMode.
setXhrMode
public void setXhrMode(boolean xhrMode)
- Parameters:
xhrMode
- The xhrMode to set.