public class Response extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Response.ResponseBuilder |
Modifier and Type | Method and Description |
---|---|
String |
getEntity() |
Map<String,String> |
getHeaders() |
int |
getStatus() |
static Response.ResponseBuilder |
ok() |
static Response.ResponseBuilder |
ok(String entity) |
static Response.ResponseBuilder |
status(int statusCode) |
static Response.ResponseBuilder |
status(javax.ws.rs.core.Response.StatusType statusType) |
public int getStatus()
public String getEntity()
public static Response.ResponseBuilder status(int statusCode)
public static Response.ResponseBuilder status(javax.ws.rs.core.Response.StatusType statusType)
public static Response.ResponseBuilder ok()
public static Response.ResponseBuilder ok(String entity)
Copyright © GigaSpaces.