uk.ltd.getahead.dwr
Class Calls

java.lang.Object
  extended byuk.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()
           
 
Method Summary
 void addCall(Call call)
          Add a call to the collection of calls we are about to make
 Call getCall(int index)
           
 int getCallCount()
          How many calls are there is this request
 boolean isXhrMode()
           
 void setXhrMode(boolean xhrMode)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Calls

public Calls()
Method Detail

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.

Copyright ? 2005