|
||||||||||
| 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
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(HttpContext parentContext)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
getAttribute(java.lang.String id)
Obtains attribute with the given name. |
java.lang.Object |
removeAttribute(java.lang.String id)
Removes attribute with the given name from the context. |
void |
setAttribute(java.lang.String id,
java.lang.Object obj)
Sets value of the attribute with the given name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SyncBasicHttpContext(HttpContext parentContext)
| Method Detail |
|---|
public java.lang.Object getAttribute(java.lang.String id)
HttpContext
getAttribute in interface HttpContextgetAttribute in class BasicHttpContextid - the attribute name.
null if not set.
public void setAttribute(java.lang.String id,
java.lang.Object obj)
HttpContext
setAttribute in interface HttpContextsetAttribute in class BasicHttpContextid - the attribute name.obj - the attribute value.public java.lang.Object removeAttribute(java.lang.String id)
HttpContext
removeAttribute in interface HttpContextremoveAttribute in class BasicHttpContextid - the attribute name.
null if not set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||