public interface HttpContext
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ANDROID_CONTEXT |
static java.lang.String |
HTTP_MESSAGE_CONVERTER |
static java.lang.String |
REQUEST_CREATED_SESSION |
static java.lang.String |
RESPONSE_PRODUCE_TYPE |
| Modifier and Type | Method and Description |
|---|---|
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.
|
static final java.lang.String RESPONSE_PRODUCE_TYPE
static final java.lang.String REQUEST_CREATED_SESSION
static final java.lang.String HTTP_MESSAGE_CONVERTER
static final java.lang.String ANDROID_CONTEXT
java.lang.Object getAttribute(java.lang.String id)
id - the attribute name.null if not set.void setAttribute(java.lang.String id,
java.lang.Object obj)
id - the attribute name.obj - the attribute value.java.lang.Object removeAttribute(java.lang.String id)
id - the attribute name.null if not set.