public class ObjectResponse extends java.lang.Object implements HttpResponse
| Constructor and Description |
|---|
ObjectResponse(org.apache.http.client.methods.CloseableHttpResponse response,
java.lang.String payload,
org.apache.http.entity.ContentType accept) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getEntity() |
<T> T |
getEntity(java.lang.Class<T> clazz) |
int |
statusCode() |
public ObjectResponse(org.apache.http.client.methods.CloseableHttpResponse response,
java.lang.String payload,
org.apache.http.entity.ContentType accept)
public int statusCode()
statusCode in interface HttpResponsepublic <T> T getEntity()
getEntity in interface HttpResponsepublic <T> T getEntity(java.lang.Class<T> clazz)
getEntity in interface HttpResponse