Deprecated
(4.3) no longer used.
HttpContext implementation that delegates resolution of an attribute
to the given default HttpContext instance if the attribute is not
present in the local one. The state of the local context can be mutated,
whereas the default context is treated as read-only.
| Modifier and Type | Field and Description |
|---|---|
| private final HttpContext | |
| private final HttpContext |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | getAttribute(final String
the attribute name. id)Implements org. |
| public HttpContext | |
| 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 |
| defaults | back to summary |
|---|---|
| private final HttpContext defaults | |
| local | back to summary |
|---|---|
| private final HttpContext local | |
| DefaultedHttpContext | back to summary |
|---|---|
| public DefaultedHttpContext(final HttpContext local, final HttpContext defaults) | |
| getAttribute | back to summary |
|---|---|
| public Object getAttribute(final String id) Implements org. Doc from org. Obtains attribute with the given name. | |
| getDefaults | back to summary |
|---|---|
| public HttpContext getDefaults() | |
| 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. | |