org.apache.http.protocol
Class SyncHttpExecutionContext

java.lang.Object
  extended byorg.apache.http.protocol.HttpExecutionContext
      extended byorg.apache.http.protocol.SyncHttpExecutionContext
All Implemented Interfaces:
HttpContext

public class SyncHttpExecutionContext
extends HttpExecutionContext

Thread-safe extension of the HttpExecutionContext.

Since:
4.0
Version:
$Revision: 496070 $
Author:
Oleg Kalnichevski

Field Summary
 
Fields inherited from class org.apache.http.protocol.HttpExecutionContext
HTTP_PROXY_HOST, HTTP_REQ_SENT, HTTP_TARGET_HOST
 
Fields inherited from interface org.apache.http.protocol.HttpContext
HTTP_CONNECTION, HTTP_REQUEST, HTTP_RESPONSE, RESERVED_PREFIX
 
Constructor Summary
SyncHttpExecutionContext(HttpContext parentContext)
           
 
Method Summary
 java.lang.Object getAttribute(java.lang.String id)
           
 java.lang.Object removeAttribute(java.lang.String id)
           
 void setAttribute(java.lang.String id, java.lang.Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyncHttpExecutionContext

public SyncHttpExecutionContext(HttpContext parentContext)
Method Detail

getAttribute

public java.lang.Object getAttribute(java.lang.String id)
Specified by:
getAttribute in interface HttpContext
Overrides:
getAttribute in class HttpExecutionContext

setAttribute

public void setAttribute(java.lang.String id,
                         java.lang.Object obj)
Specified by:
setAttribute in interface HttpContext
Overrides:
setAttribute in class HttpExecutionContext

removeAttribute

public java.lang.Object removeAttribute(java.lang.String id)
Specified by:
removeAttribute in interface HttpContext
Overrides:
removeAttribute in class HttpExecutionContext


Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.