org.apache.http.protocol
Interface HttpContext
- All Known Implementing Classes:
- HttpExecutionContext, SyncHttpExecutionContext
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: 496070 $
- Author:
- Oleg Kalnichevski
RESERVED_PREFIX
static final java.lang.String RESERVED_PREFIX
- The prefix reserved for use by HTTP components. "http."
- See Also:
- Constant Field Values
HTTP_CONNECTION
static final java.lang.String HTTP_CONNECTION
- See Also:
- Constant Field Values
HTTP_REQUEST
static final java.lang.String HTTP_REQUEST
- See Also:
- Constant Field Values
HTTP_RESPONSE
static final java.lang.String HTTP_RESPONSE
- See Also:
- Constant Field Values
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-2009 Apache Software Foundation. All Rights Reserved.