@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.  
  | 
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. 
 | 
toStringpublic SyncBasicHttpContext(HttpContext parentContext)
public SyncBasicHttpContext()
public Object getAttribute(String id)
HttpContextgetAttribute in interface HttpContextgetAttribute in class BasicHttpContextid - the attribute name.null if not set.public void setAttribute(String id, Object obj)
HttpContextsetAttribute in interface HttpContextsetAttribute in class BasicHttpContextid - the attribute name.obj - the attribute value.public Object removeAttribute(String id)
HttpContextremoveAttribute in interface HttpContextremoveAttribute in class BasicHttpContextid - the attribute name.null if not set.public void clear()
clear in class BasicHttpContextCopyright © 2005–2022 The Apache Software Foundation. All rights reserved.