HttpContext.
Please note instances of this class can be thread unsafe if the parent context is not thread safe.
| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private final HttpContext |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Object | getAttribute(final String
the attribute name. id)Implements org. |
| public Object | removeAttribute(final String
the attribute name. id)Implements org. |
| public void | setAttribute(final String
the attribute name. id, final Object the attribute value. obj)Implements org. |
| public String |
| map | back to summary |
|---|---|
| private final Map<String, Object> map | |
| parentContext | back to summary |
|---|---|
| private final HttpContext parentContext | |
| BasicHttpContext | back to summary |
|---|---|
| public BasicHttpContext() | |
| BasicHttpContext | back to summary |
|---|---|
| public BasicHttpContext(final HttpContext parentContext) | |
| clear | back to summary |
|---|---|
public void clear()
| |
| getAttribute | back to summary |
|---|---|
| public Object getAttribute(final String id) Implements org. Doc from org. Obtains attribute with the given name. | |
| removeAttribute | back to summary |
|---|---|
| public Object removeAttribute(final String id) Implements org. Doc from org. Removes attribute with the given name from the context. | |
| setAttribute | back to summary |
|---|---|
| public void setAttribute(final String id, final Object obj) Implements org. Doc from org. Sets value of the attribute with the given name. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |