|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.http.protocol.BasicHttpContext
org.apache.http.protocol.SyncBasicHttpContext
@Deprecated public class SyncBasicHttpContext
Thread-safe extension of the BasicHttpContext.
| Field Summary |
|---|
| Fields inherited from interface org.apache.http.protocol.HttpContext |
|---|
RESERVED_PREFIX |
| Constructor Summary | |
|---|---|
SyncBasicHttpContext()
Deprecated. |
|
SyncBasicHttpContext(HttpContext parentContext)
Deprecated. |
|
| Method Summary | |
|---|---|
void |
clear()
Deprecated. |
Object |
getAttribute(String id)
Deprecated. Obtains attribute with the given name. |
Object |
removeAttribute(String id)
Deprecated. Removes attribute with the given name from the context. |
void |
setAttribute(String id,
Object obj)
Deprecated. Sets value of the attribute with the given name. |
| Methods inherited from class org.apache.http.protocol.BasicHttpContext |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SyncBasicHttpContext(HttpContext parentContext)
public SyncBasicHttpContext()
| Method Detail |
|---|
public Object getAttribute(String id)
HttpContext
getAttribute in interface HttpContextgetAttribute in class BasicHttpContextid - the attribute name.
null if not set.
public void setAttribute(String id,
Object obj)
HttpContext
setAttribute in interface HttpContextsetAttribute in class BasicHttpContextid - the attribute name.obj - the attribute value.public Object removeAttribute(String id)
HttpContext
removeAttribute in interface HttpContextremoveAttribute in class BasicHttpContextid - the attribute name.
null if not set.public void clear()
clear in class BasicHttpContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||