public class JerseyEmoResponse extends Object implements EmoResponse
ClientResponse.| Constructor and Description |
|---|
JerseyEmoResponse(com.sun.jersey.api.client.ClientResponse response) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getEntity(Class<T> clazz) |
<T> T |
getEntity(com.fasterxml.jackson.core.type.TypeReference<T> type) |
InputStream |
getEntityInputStream() |
String |
getFirstHeader(String header) |
List<String> |
getHeader(String header) |
Iterable<Map.Entry<String,List<String>>> |
getHeaders() |
Date |
getLastModified() |
URI |
getLocation() |
int |
getStatus() |
boolean |
hasEntity() |
public JerseyEmoResponse(com.sun.jersey.api.client.ClientResponse response)
public int getStatus()
getStatus in interface EmoResponsepublic List<String> getHeader(String header)
getHeader in interface EmoResponsepublic String getFirstHeader(String header)
getFirstHeader in interface EmoResponsepublic Iterable<Map.Entry<String,List<String>>> getHeaders()
getHeaders in interface EmoResponsepublic boolean hasEntity()
hasEntity in interface EmoResponsepublic InputStream getEntityInputStream()
getEntityInputStream in interface EmoResponsepublic <T> T getEntity(Class<T> clazz)
getEntity in interface EmoResponsepublic <T> T getEntity(com.fasterxml.jackson.core.type.TypeReference<T> type)
getEntity in interface EmoResponsepublic URI getLocation()
getLocation in interface EmoResponsepublic Date getLastModified()
getLastModified in interface EmoResponseCopyright © 2016. All Rights Reserved.