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