|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HttpContext
A HttpContext makes it possible for a web resource implementation class to
access and manipulate HTTP request and response information directly. Typically
a HttpContext is injected on to a resource class using the
annotation Context.
| Field Summary | |
|---|---|
static java.lang.String |
FORM_PROPERTY
Used internally for storing Form instance in HttpContext
properties. |
| Method Summary | |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getProperties()
Get the mutable properties. |
Request |
getRequest()
Get the HTTP request information. |
Response |
getResponse()
Get the HTTP response information. |
ExtendedUriInfo |
getUriInfo()
Get the extended URI information. |
| Field Detail |
|---|
static final java.lang.String FORM_PROPERTY
Form instance in HttpContext
properties.
| Method Detail |
|---|
ExtendedUriInfo getUriInfo()
Request getRequest()
Response getResponse()
java.util.Map<java.lang.String,java.lang.Object> getProperties()
Care should be taken not to clear the properties or remove properties that are unknown otherwise unspecified behavior may result.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||