|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.message.internal.OutboundMessageContext
org.glassfish.jersey.server.JerseyContainerResponseContext
public class JerseyContainerResponseContext
Jersey container response context.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.glassfish.jersey.message.internal.OutboundMessageContext |
|---|
OutboundMessageContext.StreamProvider |
| Constructor Summary | |
|---|---|
JerseyContainerResponseContext(JerseyContainerRequestContext requestContext,
Response response)
Create a new Jersey container response context. |
|
| Method Summary | |
|---|---|
java.util.Map<java.lang.String,NewCookie> |
getCookies()
|
JerseyContainerRequestContext |
getRequestContext()
Get the associated container request context paired with this response context. |
int |
getStatus()
|
Response.StatusType |
getStatusInfo()
|
void |
setStatus(int code)
|
void |
setStatusInfo(Response.StatusType status)
|
| Methods inherited from class org.glassfish.jersey.message.internal.OutboundMessageContext |
|---|
commitStream, getAcceptableLanguages, getAcceptableMediaTypes, getAllowedMethods, getDate, getEntity, getEntityAnnotations, getEntityClass, getEntityStream, getEntityTag, getEntityType, getHeaders, getHeaderString, getLanguage, getLastModified, getLength, getLink, getLinkBuilder, getLinks, getLocation, getMediaType, getRequestCookies, getResponseCookies, hasEntity, hasLink, header, headers, headers, headers, remove, replace, replace, replaceAll, setEntity, setEntity, setEntity, setEntity, setEntity, setEntityAnnotations, setEntityStream, setEntityType, setMediaType, setStreamProvider |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.ws.rs.container.ContainerResponseContext |
|---|
getAllowedMethods, getDate, getEntity, getEntityAnnotations, getEntityClass, getEntityStream, getEntityTag, getEntityType, getHeaders, getLanguage, getLastModified, getLength, getLink, getLinkBuilder, getLinks, getLocation, getMediaType, hasEntity, hasLink, setEntity, setEntity, setEntityStream |
| Constructor Detail |
|---|
public JerseyContainerResponseContext(JerseyContainerRequestContext requestContext,
Response response)
requestContext - associated container request context.response - response instance initializing the response context.| Method Detail |
|---|
public int getStatus()
getStatus in interface ContainerResponseContextpublic void setStatus(int code)
setStatus in interface ContainerResponseContextpublic void setStatusInfo(Response.StatusType status)
setStatusInfo in interface ContainerResponseContextpublic Response.StatusType getStatusInfo()
getStatusInfo in interface ContainerResponseContextpublic JerseyContainerRequestContext getRequestContext()
public java.util.Map<java.lang.String,NewCookie> getCookies()
getCookies in interface ContainerResponseContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||