public class Response
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.Object |
initialEntity
Deprecated.
|
Constructor and Description |
---|
Response(<any> headers,
AbstractResponse response) |
Response(<any> headers,
java.lang.Object entity)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Response |
create(MultivaluedHashMap headers) |
<any> |
getHeaders() |
AbstractResponse |
getInnerResponse() |
java.util.Optional<java.lang.Integer> |
getStatusCode() |
void |
setStatusCode(int statusCode) |
public Response(<any> headers, AbstractResponse response)
@Deprecated public Response(<any> headers, java.lang.Object entity)
public AbstractResponse getInnerResponse()
public static Response create(MultivaluedHashMap headers)
public <any> getHeaders()
public void setStatusCode(int statusCode)
public java.util.Optional<java.lang.Integer> getStatusCode()