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