Deprecated
(4.2) HttpContext instances may not be shared by multiple threads
BasicHttpContext.
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | |
| public synchronized Object | getAttribute(final String
the attribute name. id)Overrides org. Implements org. |
| public synchronized Object | removeAttribute(final String
the attribute name. id)Overrides org. Implements org. |
| public synchronized void | setAttribute(final String
the attribute name. id, final Object the attribute value. obj)Overrides org. Implements org. |
| SyncBasicHttpContext | back to summary |
|---|---|
| public SyncBasicHttpContext(final HttpContext parentContext) | |
| SyncBasicHttpContext | back to summary |
|---|---|
public SyncBasicHttpContext()
| |
| clear | back to summary |
|---|---|
| public synchronized void clear() Overrides org.
| |
| getAttribute | back to summary |
|---|---|
| public synchronized Object getAttribute(final String id) Overrides org. Implements org. Doc from org. Obtains attribute with the given name. | |
| removeAttribute | back to summary |
|---|---|
| public synchronized Object removeAttribute(final String id) Overrides org. Implements org. Doc from org. Removes attribute with the given name from the context. | |
| setAttribute | back to summary |
|---|---|
| public synchronized void setAttribute(final String id, final Object obj) Overrides org. Implements org. Doc from org. Sets value of the attribute with the given name. | |