@Deprecated public class SyncBasicHttpContext extends BasicHttpContext
BasicHttpContext.RESERVED_PREFIX| 构造器和说明 |
|---|
SyncBasicHttpContext()
已过时。
|
SyncBasicHttpContext(HttpContext parentContext)
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clear()
已过时。
|
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.
|
toStringpublic SyncBasicHttpContext(HttpContext parentContext)
public SyncBasicHttpContext()
public java.lang.Object getAttribute(java.lang.String id)
HttpContextgetAttribute 在接口中 HttpContextgetAttribute 在类中 BasicHttpContextid - the attribute name.null if not set.public void setAttribute(java.lang.String id,
java.lang.Object obj)
HttpContextsetAttribute 在接口中 HttpContextsetAttribute 在类中 BasicHttpContextid - the attribute name.obj - the attribute value.public java.lang.Object removeAttribute(java.lang.String id)
HttpContextremoveAttribute 在接口中 HttpContextremoveAttribute 在类中 BasicHttpContextid - the attribute name.null if not set.public void clear()
clear 在类中 BasicHttpContext