public interface ClientResponseContext
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getAllowedMethods() |
Map<String,NewCookie> |
getCookies() |
Date |
getDate() |
InputStream |
getEntityStream() |
EntityTag |
getEntityTag() |
MultivaluedMap<String,String> |
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() |
boolean |
hasEntity() |
boolean |
hasLink(String relation) |
void |
setEntityStream(InputStream input) |
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,String> getHeaders()
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()
InputStream getEntityStream()
void setEntityStream(InputStream input)
Copyright © 2018 The Apache Software Foundation. All rights reserved.