org.directwebremoting.extend
Class Replies
java.lang.Object
org.directwebremoting.extend.Replies
public class Replies
- 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 |
Replies(java.lang.String batchId)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Replies
public Replies(java.lang.String batchId)
- Parameters:
batchId
- The batchId to set.
getReplyCount
public int getReplyCount()
- How many replies are there is this request
- Returns:
- The total number of replies
getReply
public Reply getReply(int index)
- Parameters:
index
- The index (starts at 0) of the reply to fetch
- Returns:
- Returns the replies.
addReply
public void addReply(Reply reply)
- Add a reply to the collection of replies we are about to make
- Parameters:
reply
- The reply 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.