com.dtolabs.client.utils
Class ClientState

java.lang.Object
  extended by com.dtolabs.client.utils.ClientState

public class ClientState
extends java.lang.Object

ClientState manages a map of HttpStates, allowing CommanderHttpClientChannel to re-use an existing client session without logging in again.


Method Summary
static org.apache.commons.httpclient.HttpState getHttpState()
          Get the HTTP State object for the current thread
static org.apache.commons.httpclient.HttpState resetHttpState()
          Reset the HTTP State object for the current thread
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getHttpState

public static org.apache.commons.httpclient.HttpState getHttpState()
Get the HTTP State object for the current thread


resetHttpState

public static org.apache.commons.httpclient.HttpState resetHttpState()
Reset the HTTP State object for the current thread