public class RestResponse extends Object
Modifier and Type | Field and Description |
---|---|
protected com.sun.jersey.api.client.ClientResponse |
clientResponse |
protected org.codehaus.jackson.map.ObjectMapper |
objectMapper |
protected org.codehaus.jackson.JsonNode |
responseAsJson |
Constructor and Description |
---|
RestResponse(com.sun.jersey.api.client.ClientResponse clientResponse) |
Modifier and Type | Method and Description |
---|---|
org.codehaus.jackson.JsonNode |
asJson() |
com.sun.jersey.api.client.ClientResponse |
getClientResponse() |
int |
getStatus() |
protected com.sun.jersey.api.client.ClientResponse clientResponse
protected org.codehaus.jackson.JsonNode responseAsJson
protected org.codehaus.jackson.map.ObjectMapper objectMapper
public RestResponse(com.sun.jersey.api.client.ClientResponse clientResponse)
public com.sun.jersey.api.client.ClientResponse getClientResponse()
public int getStatus()
public org.codehaus.jackson.JsonNode asJson()
Copyright © 2017 Nuxeo. All rights reserved.