org.hawk.http
Class HttpSessionLocal<HawkSessionType>

java.lang.Object
  extended by java.lang.ThreadLocal<HawkSessionType>
      extended by org.hawk.http.HttpSessionLocal<HawkSessionType>

public class HttpSessionLocal<HawkSessionType>
extends java.lang.ThreadLocal<HawkSessionType>

This stores http session information in the thread local.


Constructor Summary
HttpSessionLocal()
           
 
Method Summary
 HawkSessionType get()
           
protected  HawkSessionType initialValue()
           
 void remove()
           
 void set(HawkSessionType value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpSessionLocal

public HttpSessionLocal()
Method Detail

get

public HawkSessionType get()
Overrides:
get in class java.lang.ThreadLocal<HawkSessionType>

initialValue

protected HawkSessionType initialValue()
Overrides:
initialValue in class java.lang.ThreadLocal<HawkSessionType>

remove

public void remove()
Overrides:
remove in class java.lang.ThreadLocal<HawkSessionType>

set

public void set(HawkSessionType value)
Overrides:
set in class java.lang.ThreadLocal<HawkSessionType>