|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RuntimeContext
Method Summary | ||
---|---|---|
|
getAttribute(java.lang.Class<T> type)
Convenience method for getting an attribute whose key that is the fully qualified name of a class |
|
java.util.Map<java.lang.String,java.lang.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 |
|
java.io.InputStream |
getInputStream()
Get the input stream of the request |
|
java.io.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(java.lang.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
contextjava.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
java.io.OutputStream getOutputStream() throws java.io.IOException
java.io.IOException
java.util.Map<java.lang.String,java.lang.Object> getAttributes()
<T> void setAttribute(java.lang.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(java.lang.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 |