org.directwebremoting.dwrp
Class PartialResponse

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

public class PartialResponse
extends java.lang.Object

A set of constants that represent how browsers need data flushed to them

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

Field Summary
static int FLUSH
          The client can only handle partial responses with a 4k data post (can be whitespace) - we're talking IE here.
static int NO
          The client can not handle partial responses
static int YES
          The client can handle partial responses
 
Constructor Summary
PartialResponse()
           
 
Method Summary
static int fromOrdinal(java.lang.String id)
          Convert a string from the web into a PartialResponse.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO

public static final int NO
The client can not handle partial responses

See Also:
Constant Field Values

YES

public static final int YES
The client can handle partial responses

See Also:
Constant Field Values

FLUSH

public static final int FLUSH
The client can only handle partial responses with a 4k data post (can be whitespace) - we're talking IE here.

See Also:
Constant Field Values
Constructor Detail

PartialResponse

public PartialResponse()
Method Detail

fromOrdinal

public static int fromOrdinal(java.lang.String id)
Convert a string from the web into a PartialResponse. The values are PARTIAL_RESPONSE_NO = "0", PARTIAL_RESPONSE_YES = "1" and PARTIAL_RESPONSE_FLUSH = "2"

Parameters:
id - The PartialResponse to look-up
Returns:
a matching PartialResponse or null if one was not found

Copyright ? 2005