public interface ContainerResponseContext
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getAllowedMethods() |
Map<String,NewCookie> |
getCookies() |
Date |
getDate() |
Object |
getEntity() |
Annotation[] |
getEntityAnnotations() |
Class<?> |
getEntityClass() |
OutputStream |
getEntityStream() |
EntityTag |
getEntityTag() |
Type |
getEntityType() |
MultivaluedMap<String,Object> |
getHeaders() |
String |
getHeaderString(String name) |
Locale |
getLanguage() |
Date |
getLastModified() |
int |
getLength() |
Link |
getLink(String relation) |
Link.Builder |
getLinkBuilder(String relation) |
Set<Link> |
getLinks() |
URI |
getLocation() |
MediaType |
getMediaType() |
int |
getStatus() |
Response.StatusType |
getStatusInfo() |
MultivaluedMap<String,String> |
getStringHeaders() |
boolean |
hasEntity() |
boolean |
hasLink(String relation) |
void |
setEntity(Object entity) |
void |
setEntity(Object entity,
Annotation[] annotations,
MediaType mediaType) |
void |
setEntityStream(OutputStream outputStream) |
void |
setStatus(int code) |
void |
setStatusInfo(Response.StatusType statusInfo) |
int getStatus()
void setStatus(int code)
Response.StatusType getStatusInfo()
void setStatusInfo(Response.StatusType statusInfo)
MultivaluedMap<String,Object> getHeaders()
MultivaluedMap<String,String> getStringHeaders()
Date getDate()
Locale getLanguage()
int getLength()
MediaType getMediaType()
EntityTag getEntityTag()
Date getLastModified()
URI getLocation()
boolean hasLink(String relation)
Link.Builder getLinkBuilder(String relation)
boolean hasEntity()
Object getEntity()
Class<?> getEntityClass()
Type getEntityType()
void setEntity(Object entity)
void setEntity(Object entity, Annotation[] annotations, MediaType mediaType)
Annotation[] getEntityAnnotations()
OutputStream getEntityStream()
void setEntityStream(OutputStream outputStream)
Copyright © 2018 The Apache Software Foundation. All rights reserved.