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