Package 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
Fields Modifier and Type Field Description static StringRESERVED_PREFIXThe prefix reserved for use by HTTP components. -
Method Summary
Modifier and Type Method Description ObjectgetAttribute(String id)ObjectremoveAttribute(String id)voidsetAttribute(String id, Object obj)
-
Field Details
-
RESERVED_PREFIX
The prefix reserved for use by HTTP components. "http."- See Also:
- Constant Field Values
-
-
Method Details
-
getAttribute
-
setAttribute
-
removeAttribute
-