|
||||||||||
| 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.
| Method Summary | |
|---|---|
Map<String,Object> |
getProperties()
Get the mutable properties. |
javax.ws.rs.core.Request |
getRequest()
Get the HTTP request information. |
javax.ws.rs.core.Response |
getResponse()
Get the HTTP response information. |
ExtendedUriInfo |
getUriInfo()
Get the extended URI information. |
| Method Detail |
|---|
ExtendedUriInfo getUriInfo()
javax.ws.rs.core.Request getRequest()
javax.ws.rs.core.Response getResponse()
Map<String,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 | |||||||||