org.directwebremoting.dwrp
Class Batch

java.lang.Object
  extended by org.directwebremoting.dwrp.Batch

public class Batch
extends java.lang.Object

A container for all the by-products of an HttpRequest parse

Author:
Joe Walker [joe at getahead dot ltd dot uk]

Constructor Summary
Batch(javax.servlet.http.HttpServletRequest request)
          Parse an inbound request into a Calls object
Batch(java.util.Map<java.lang.String,FormField> allParameters)
          Ctor for the Bayeux client which doesn't have requests and responses
 
Method Summary
 Calls getCalls()
           
 java.lang.String getHttpSessionId()
           
 java.util.List<InboundContext> getInboundContexts()
           
 java.lang.String getPage()
           
 java.lang.String getScriptSessionId()
           
 java.util.Map<java.lang.String,FormField> getSpareParameters()
           
 java.lang.String getWindowName()
           
 boolean isGet()
          Is this request from a GET?
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Batch

public Batch(javax.servlet.http.HttpServletRequest request)
      throws ServerException
Parse an inbound request into a Calls object

Parameters:
request - The original browser's request
Throws:
ServerException

Batch

public Batch(java.util.Map<java.lang.String,FormField> allParameters)
Ctor for the Bayeux client which doesn't have requests and responses

Parameters:
allParameters - A set of name value pairs
Throws:
java.lang.SecurityException - If the parameters can't be decoded
Method Detail

getInboundContexts

public java.util.List<InboundContext> getInboundContexts()
Returns:
the inboundContexts

getSpareParameters

public java.util.Map<java.lang.String,FormField> getSpareParameters()
Returns:
the spareParameters

getCalls

public Calls getCalls()
Returns:
the calls

getHttpSessionId

public java.lang.String getHttpSessionId()
Returns:
the httpSessionId

getScriptSessionId

public java.lang.String getScriptSessionId()
Returns:
the scriptSessionId

getPage

public java.lang.String getPage()
Returns:
the page

getWindowName

public java.lang.String getWindowName()
Returns:
the window name

isGet

public boolean isGet()
Is this request from a GET?

Returns:
true if the request is a GET request

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Copyright ¬ 2005