|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RuntimeContext
| Method Summary | ||
|---|---|---|
|
getAttribute(Class<T> type)
Convenience method for getting an attribute whose key that is the fully qualified name of a class |
|
Map<String,Object> |
getAttributes()
Get an attributes map to store objects in the context of a request. |
|
javax.ws.rs.core.HttpHeaders |
getHttpHeaders()
Get the HttpHeaders context |
|
InputStream |
getInputStream()
Get the input stream of the request |
|
OutputStream |
getOutputStream()
Get the output stream of the response |
|
javax.ws.rs.ext.Providers |
getProviders()
Get the Providers context |
|
javax.ws.rs.core.Request |
getRequest()
Get the Request context |
|
javax.ws.rs.core.SecurityContext |
getSecurityContext()
Get the SecurityContext context |
|
javax.ws.rs.core.UriInfo |
getUriInfo()
Get the UriInfo context |
|
|
setAttribute(Class<T> type,
T object)
Convenience method for setting an attribute whose key that is the fully qualified name of a class |
|
| Method Detail |
|---|
javax.ws.rs.ext.Providers getProviders()
Providers context
Providers contextjavax.ws.rs.core.HttpHeaders getHttpHeaders()
HttpHeaders context
HttpHeaders contextjavax.ws.rs.core.UriInfo getUriInfo()
UriInfo context
UriInfo contextjavax.ws.rs.core.SecurityContext getSecurityContext()
SecurityContext context
SecurityContext contextjavax.ws.rs.core.Request getRequest()
Request context
Request context
InputStream getInputStream()
throws IOException
IOException
OutputStream getOutputStream()
throws IOException
IOExceptionMap<String,Object> getAttributes()
<T> void setAttribute(Class<T> type,
T object)
T - attribute typetype - the class of the key whose fully qualified name is used as
the keyobject - the object to set<T> T getAttribute(Class<T> type)
T - attribute typetype - he class of the key whose fully qualified name is used as the
key
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||