Apache CXF API

org.apache.cxf.jaxrs.impl
Class AbstractResponseContextImpl

java.lang.Object
  extended by org.apache.cxf.jaxrs.impl.AbstractResponseContextImpl
Direct Known Subclasses:
ClientResponseContextImpl, ContainerResponseContextImpl

public abstract class AbstractResponseContextImpl
extends Object


Field Summary
protected  Message m
           
protected  ResponseImpl r
           
 
Constructor Summary
AbstractResponseContextImpl(ResponseImpl r, Message m)
           
 
Method Summary
 Set<String> getAllowedMethods()
           
 Map<String,javax.ws.rs.core.NewCookie> getCookies()
           
 Date getDate()
           
 Object getEntity()
           
 javax.ws.rs.core.EntityTag getEntityTag()
           
 String getHeaderString(String name)
           
 Locale getLanguage()
           
 Date getLastModified()
           
 int getLength()
           
 javax.ws.rs.core.Link getLink(String rel)
           
 javax.ws.rs.core.Link.Builder getLinkBuilder(String rel)
           
 Set<javax.ws.rs.core.Link> getLinks()
           
 URI getLocation()
           
 javax.ws.rs.core.MediaType getMediaType()
           
protected  Annotation[] getResponseEntityAnnotations()
           
 int getStatus()
           
 javax.ws.rs.core.Response.StatusType getStatusInfo()
           
 javax.ws.rs.core.MultivaluedMap<String,String> getStringHeaders()
           
 boolean hasEntity()
           
 boolean hasLink(String rel)
           
 void setEntity(Object entity)
           
 void setEntity(Object entity, Annotation[] anns, javax.ws.rs.core.MediaType mt)
           
 void setStatus(int status)
           
 void setStatusInfo(javax.ws.rs.core.Response.StatusType status)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m

protected Message m

r

protected ResponseImpl r
Constructor Detail

AbstractResponseContextImpl

public AbstractResponseContextImpl(ResponseImpl r,
                                   Message m)
Method Detail

getAllowedMethods

public Set<String> getAllowedMethods()

getCookies

public Map<String,javax.ws.rs.core.NewCookie> getCookies()

getDate

public Date getDate()

getEntity

public Object getEntity()

getEntityTag

public javax.ws.rs.core.EntityTag getEntityTag()

getHeaderString

public String getHeaderString(String name)

getLanguage

public Locale getLanguage()

getLastModified

public Date getLastModified()

getLength

public int getLength()

getLink

public javax.ws.rs.core.Link getLink(String rel)

getLinkBuilder

public javax.ws.rs.core.Link.Builder getLinkBuilder(String rel)

getLinks

public Set<javax.ws.rs.core.Link> getLinks()

getLocation

public URI getLocation()

getMediaType

public javax.ws.rs.core.MediaType getMediaType()

getStatus

public int getStatus()

getStatusInfo

public javax.ws.rs.core.Response.StatusType getStatusInfo()

getStringHeaders

public javax.ws.rs.core.MultivaluedMap<String,String> getStringHeaders()

hasEntity

public boolean hasEntity()

hasLink

public boolean hasLink(String rel)

setEntity

public void setEntity(Object entity,
                      Annotation[] anns,
                      javax.ws.rs.core.MediaType mt)

setEntity

public void setEntity(Object entity)

getResponseEntityAnnotations

protected Annotation[] getResponseEntityAnnotations()

setStatus

public void setStatus(int status)

setStatusInfo

public void setStatusInfo(javax.ws.rs.core.Response.StatusType status)

Apache CXF API

Apache CXF