@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.
|
toString
public SyncBasicHttpContext(HttpContext parentContext)
public SyncBasicHttpContext()
public java.lang.Object getAttribute(java.lang.String id)
HttpContext
getAttribute
in interface HttpContext
getAttribute
in class BasicHttpContext
id
- the attribute name.null
if not set.public void setAttribute(java.lang.String id, java.lang.Object obj)
HttpContext
setAttribute
in interface HttpContext
setAttribute
in class BasicHttpContext
id
- the attribute name.obj
- the attribute value.public java.lang.Object removeAttribute(java.lang.String id)
HttpContext
removeAttribute
in interface HttpContext
removeAttribute
in class BasicHttpContext
id
- the attribute name.null
if not set.public void clear()
clear
in class BasicHttpContext