public abstract class AbstractResponseContextImpl extends Object
Modifier and Type | Field and Description |
---|---|
protected Message |
m |
protected ResponseImpl |
r |
Constructor and Description |
---|
AbstractResponseContextImpl(ResponseImpl r,
Message m) |
Modifier and Type | Method and Description |
---|---|
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) |
protected Message m
protected ResponseImpl r
public AbstractResponseContextImpl(ResponseImpl r, Message m)
public Date getDate()
public Object getEntity()
public javax.ws.rs.core.EntityTag getEntityTag()
public Locale getLanguage()
public Date getLastModified()
public int getLength()
public javax.ws.rs.core.Link getLink(String rel)
public javax.ws.rs.core.Link.Builder getLinkBuilder(String rel)
public Set<javax.ws.rs.core.Link> getLinks()
public URI getLocation()
public javax.ws.rs.core.MediaType getMediaType()
public int getStatus()
public javax.ws.rs.core.Response.StatusType getStatusInfo()
public boolean hasEntity()
public boolean hasLink(String rel)
public void setEntity(Object entity, Annotation[] anns, javax.ws.rs.core.MediaType mt)
public void setEntity(Object entity)
protected Annotation[] getResponseEntityAnnotations()
public void setStatus(int status)
public void setStatusInfo(javax.ws.rs.core.Response.StatusType status)
Apache CXF