All Methods Static Methods Instance Methods Concrete Methods
| Modifier and Type |
Method and Description |
Response |
addHeader(String name,
String value) |
Response |
build() |
static Response |
consumerFailResp(Throwable e) |
static Response |
create(int statusCode,
String reasonPhrase,
Object result) |
static Response |
create(javax.ws.rs.core.Response.StatusType status,
Object result) |
static Response |
createConsumerFail(Throwable throwable) |
static Response |
createConsumerFail(Throwable throwable,
String message) |
static Response |
createFail(InvocationException exception) |
static Response |
createFail(InvocationType invocationType,
String errorMsg) |
static Response |
createFail(InvocationType invocationType,
Throwable throwable) |
static Response |
createProducerFail(Throwable throwable) |
static Response |
createSuccess(Object result) |
static Response |
createSuccess(javax.ws.rs.core.Response.StatusType status,
Object result) |
Response |
entity(Object result) |
static Response |
failResp(InvocationException e) |
static Response |
failResp(InvocationType invocationType,
Throwable e) |
String |
getHeader(String name) |
io.vertx.core.MultiMap |
getHeaders() |
List<String> |
getHeaders(String name) |
String |
getReasonPhrase() |
<T> T |
getResult() |
javax.ws.rs.core.Response.StatusType |
getStatus() |
int |
getStatusCode() |
boolean |
isFailed() |
boolean |
isSucceed() |
static Response |
ok(Object result) |
static Response |
producerFailResp(Throwable e) |
static Response |
providerFailResp(Throwable e) |
Response |
setHeader(String name,
String value) |
Response |
setHeaders(io.vertx.core.MultiMap headers) |
void |
setResult(Object result) |
void |
setStatus(javax.ws.rs.core.Response.StatusType status) |
static Response |
status(javax.ws.rs.core.Response.StatusType status) |
static Response |
success(Object result,
javax.ws.rs.core.Response.StatusType status) |
static Response |
succResp(Object result) |