org.apache.http.protocol
Interface HttpContext

All Known Implementing Classes:
BasicHttpContext, DefaultedHttpContext, SyncBasicHttpContext

public interface HttpContext

A context for executing a request. The context is used to tie together the request, the response, and optional application data. It is also used for internal data. Attribute names starting with the prefix "http." are reserved for internal data.

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

Field Summary
static java.lang.String RESERVED_PREFIX
          The prefix reserved for use by HTTP components.
 
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)
           
 

Field Detail

RESERVED_PREFIX

static final java.lang.String RESERVED_PREFIX
The prefix reserved for use by HTTP components. "http."

See Also:
Constant Field Values
Method Detail

getAttribute

java.lang.Object getAttribute(java.lang.String id)

setAttribute

void setAttribute(java.lang.String id,
                  java.lang.Object obj)

removeAttribute

java.lang.Object removeAttribute(java.lang.String id)


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