Apache CXF API

org.apache.cxf.jaxrs.impl
Class ContainerResponseContextImpl

java.lang.Object
  extended by org.apache.cxf.jaxrs.impl.AbstractResponseContextImpl
      extended by org.apache.cxf.jaxrs.impl.ContainerResponseContextImpl
All Implemented Interfaces:
javax.ws.rs.container.ContainerResponseContext

public class ContainerResponseContextImpl
extends AbstractResponseContextImpl
implements javax.ws.rs.container.ContainerResponseContext


Field Summary
 
Fields inherited from class org.apache.cxf.jaxrs.impl.AbstractResponseContextImpl
m, r
 
Constructor Summary
ContainerResponseContextImpl(javax.ws.rs.core.Response r, Message m, OperationResourceInfo ori)
           
 
Method Summary
 Annotation[] getEntityAnnotations()
           
 Class<?> getEntityClass()
           
 OutputStream getEntityStream()
           
 Type getEntityType()
           
 javax.ws.rs.core.MultivaluedMap<String,Object> getHeaders()
           
 void setEntityStream(OutputStream os)
           
 
Methods inherited from class org.apache.cxf.jaxrs.impl.AbstractResponseContextImpl
getAllowedMethods, getCookies, getDate, getEntity, getEntityTag, getHeaderString, getLanguage, getLastModified, getLength, getLink, getLinkBuilder, getLinks, getLocation, getMediaType, getResponseEntityAnnotations, getResponseEntityClass, getStatus, getStatusInfo, getStringHeaders, hasEntity, hasLink, setEntity, setStatus, setStatusInfo
 
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, getCookies, getDate, getEntity, getEntityTag, getHeaderString, getLanguage, getLastModified, getLength, getLink, getLinkBuilder, getLinks, getLocation, getMediaType, getStatus, getStatusInfo, getStringHeaders, hasEntity, hasLink, setEntity, setStatus, setStatusInfo
 

Constructor Detail

ContainerResponseContextImpl

public ContainerResponseContextImpl(javax.ws.rs.core.Response r,
                                    Message m,
                                    OperationResourceInfo ori)
Method Detail

getEntityAnnotations

public Annotation[] getEntityAnnotations()
Specified by:
getEntityAnnotations in interface javax.ws.rs.container.ContainerResponseContext

getEntityClass

public Class<?> getEntityClass()
Specified by:
getEntityClass in interface javax.ws.rs.container.ContainerResponseContext

getEntityType

public Type getEntityType()
Specified by:
getEntityType in interface javax.ws.rs.container.ContainerResponseContext

getHeaders

public javax.ws.rs.core.MultivaluedMap<String,Object> getHeaders()
Specified by:
getHeaders in interface javax.ws.rs.container.ContainerResponseContext

getEntityStream

public OutputStream getEntityStream()
Specified by:
getEntityStream in interface javax.ws.rs.container.ContainerResponseContext

setEntityStream

public void setEntityStream(OutputStream os)
Specified by:
setEntityStream in interface javax.ws.rs.container.ContainerResponseContext

Apache CXF API

Apache CXF