@Deprecated public class SyncBasicHttpContext extends BasicHttpContext
BasicHttpContext.RESERVED_PREFIX| Constructor and Description |
|---|
SyncBasicHttpContext()
Deprecated.
|
SyncBasicHttpContext(HttpContext parentContext)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Deprecated.
|
java.lang.Object |
getAttribute(java.lang.String id)
Deprecated.
Obtains attribute with the given name.
|
java.lang.Object |
removeAttribute(java.lang.String id)
Deprecated.
Removes attribute with the given name from the context.
|
void |
setAttribute(java.lang.String id,
java.lang.Object obj)
Deprecated.
Sets value of the attribute with the given name.
|
toStringpublic SyncBasicHttpContext(HttpContext parentContext)
public SyncBasicHttpContext()
public java.lang.Object getAttribute(java.lang.String id)
HttpContextgetAttribute in interface HttpContextgetAttribute in class BasicHttpContextid - the attribute name.null if not set.public void setAttribute(java.lang.String id,
java.lang.Object obj)
HttpContextsetAttribute in interface HttpContextsetAttribute in class BasicHttpContextid - the attribute name.obj - the attribute value.public java.lang.Object removeAttribute(java.lang.String id)
HttpContextremoveAttribute in interface HttpContextremoveAttribute in class BasicHttpContextid - the attribute name.null if not set.public void clear()
clear in class BasicHttpContext