org.apache.http.protocol
Class HttpExecutionContext

java.lang.Object
  extended by org.apache.http.protocol.HttpExecutionContext
All Implemented Interfaces:
HttpContext
Direct Known Subclasses:
SyncHttpExecutionContext

public class HttpExecutionContext
extends java.lang.Object
implements HttpContext

Default implementation of the HttpContext.

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

Field Summary
static java.lang.String HTTP_PROXY_HOST
           
static java.lang.String HTTP_REQ_SENT
           
static java.lang.String HTTP_TARGET_HOST
           
 
Fields inherited from interface org.apache.http.protocol.HttpContext
HTTP_CONNECTION, HTTP_REQUEST, HTTP_RESPONSE, RESERVED_PREFIX
 
Constructor Summary
HttpExecutionContext(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
 

Field Detail

HTTP_TARGET_HOST

public static final java.lang.String HTTP_TARGET_HOST
See Also:
Constant Field Values

HTTP_PROXY_HOST

public static final java.lang.String HTTP_PROXY_HOST
See Also:
Constant Field Values

HTTP_REQ_SENT

public static final java.lang.String HTTP_REQ_SENT
See Also:
Constant Field Values
Constructor Detail

HttpExecutionContext

public HttpExecutionContext(HttpContext parentContext)
Method Detail

getAttribute

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

setAttribute

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

removeAttribute

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


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