org.apache.cxf.jaxrs.impl
Class AbstractResponseContextImpl
java.lang.Object
org.apache.cxf.jaxrs.impl.AbstractResponseContextImpl
- Direct Known Subclasses:
- ClientResponseContextImpl, ContainerResponseContextImpl
public abstract class AbstractResponseContextImpl
- extends Object
Field Summary |
protected Message |
m
|
protected javax.ws.rs.core.Response |
r
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m
protected Message m
r
protected javax.ws.rs.core.Response r
AbstractResponseContextImpl
public AbstractResponseContextImpl(javax.ws.rs.core.Response r,
Message m)
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)
getResponseEntityAnnotations
protected Annotation[] getResponseEntityAnnotations()
getResponseEntityClass
protected Class<?> getResponseEntityClass()
setStatus
public void setStatus(int status)
setStatusInfo
public void setStatusInfo(javax.ws.rs.core.Response.StatusType status)
Apache CXF