Exemplo n.º 1
0
 /* ------------------------------------------------------------ */
 protected void associateThread() {
   __threadConnection.set(this);
   _handlingThread = Thread.currentThread();
 }
Exemplo n.º 2
0
 /* ------------------------------------------------------------ */
 protected void disassociateThread() {
   _handlingThread = null;
   __threadConnection.set(null);
 }
Exemplo n.º 3
0
 /**
  * Get the ThreadLocal HttpConnection. The ThreadLocal HttpConnection is set by the handle()
  * method.
  *
  * @return HttpConnection for this thread.
  */
 static HttpConnection getHttpConnection() {
   return (HttpConnection) __threadConnection.get();
 }