org.directwebremoting.dwrp
Class PollBatch

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

public class PollBatch
extends java.lang.Object

A container for the information passed in by an Poll request

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

Field Summary
static java.lang.String ATTRIBUTE_CALL_ID
          How we stash away the results of the request parse
static java.lang.String ATTRIBUTE_NOTIFY_CONDUIT
          We remember the notify conduit so we can reuse it
static java.lang.String ATTRIBUTE_PAGE
          How we stash away the results of the request parse
static java.lang.String ATTRIBUTE_PARAMETERS
          How we stash away the results of the request parse
static java.lang.String ATTRIBUTE_PARTIAL_RESPONSE
          How we stash away the results of the request parse
static java.lang.String ATTRIBUTE_SESSION_ID
          How we stash away the results of the request parse
 
Constructor Summary
PollBatch(javax.servlet.http.HttpServletRequest request, PageNormalizer pageNormalizer)
           
 
Method Summary
 java.lang.String getBatchId()
           
 java.lang.String getHttpSessionId()
           
 int getPartialResponse()
           
 java.lang.String getScriptId()
           
 RealScriptSession getScriptSession()
           
 boolean isGet()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ATTRIBUTE_PARAMETERS

public static final java.lang.String ATTRIBUTE_PARAMETERS
How we stash away the results of the request parse

See Also:
Constant Field Values

ATTRIBUTE_CALL_ID

public static final java.lang.String ATTRIBUTE_CALL_ID
How we stash away the results of the request parse

See Also:
Constant Field Values

ATTRIBUTE_SESSION_ID

public static final java.lang.String ATTRIBUTE_SESSION_ID
How we stash away the results of the request parse

See Also:
Constant Field Values

ATTRIBUTE_PAGE

public static final java.lang.String ATTRIBUTE_PAGE
How we stash away the results of the request parse

See Also:
Constant Field Values

ATTRIBUTE_PARTIAL_RESPONSE

public static final java.lang.String ATTRIBUTE_PARTIAL_RESPONSE
How we stash away the results of the request parse

See Also:
Constant Field Values

ATTRIBUTE_NOTIFY_CONDUIT

public static final java.lang.String ATTRIBUTE_NOTIFY_CONDUIT
We remember the notify conduit so we can reuse it

See Also:
Constant Field Values
Constructor Detail

PollBatch

public PollBatch(javax.servlet.http.HttpServletRequest request,
                 PageNormalizer pageNormalizer)
          throws ServerException
Parameters:
request -
pageNormalizer -
Throws:
ServerException
Method Detail

getBatchId

public java.lang.String getBatchId()
Returns:
the batchId

getScriptId

public java.lang.String getScriptId()
Returns:
the scriptId

getPartialResponse

public int getPartialResponse()
Returns:
the partialResponse

isGet

public boolean isGet()
Returns:
the get

getScriptSession

public RealScriptSession getScriptSession()
Returns:
the scriptSession

getHttpSessionId

public java.lang.String getHttpSessionId()
Returns:

toString

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

Copyright ? 2005