public class Response extends Object
| Constructor and Description |
|---|
Response(String method,
jakarta.ws.rs.core.Response jaxrsResponse) |
Response(String method,
jakarta.ws.rs.core.Response jaxrsResponse,
boolean readEntity) |
| Modifier and Type | Method and Description |
|---|---|
org.codehaus.jettison.json.JSONObject |
getItem() |
jakarta.ws.rs.core.Response |
getJaxrsResponse() |
org.codehaus.jettison.json.JSONObject |
getJsonBody() |
String |
getLocationHeader() |
String |
getMethod() |
int |
getStatus() |
String |
getStringBody() |
String |
getXLocationHeader() |
public Response(String method, jakarta.ws.rs.core.Response jaxrsResponse)
public Response(String method, jakarta.ws.rs.core.Response jaxrsResponse, boolean readEntity)
public jakarta.ws.rs.core.Response getJaxrsResponse()
public String getMethod()
public int getStatus()
public String getStringBody()
public org.codehaus.jettison.json.JSONObject getJsonBody()
throws Exception
ExceptionCopyright © 2017–2020 Eclipse Foundation. All rights reserved.