| Modifier and Type | Method and Description |
|---|---|
Response |
Response.build() |
static Response |
Response.consumerFailResp(Throwable e) |
static Response |
Response.create(int statusCode,
String reasonPhrase,
Object result) |
static Response |
Response.create(javax.ws.rs.core.Response.StatusType status,
Object result) |
static Response |
Response.createConsumerFail(Throwable throwable) |
static Response |
Response.createFail(InvocationException exception) |
static Response |
Response.createFail(InvocationType invocationType,
String errorMsg) |
static Response |
Response.createFail(InvocationType invocationType,
Throwable throwable) |
static Response |
Response.createProducerFail(Throwable throwable) |
static Response |
Response.createSuccess(Object result) |
static Response |
Response.createSuccess(javax.ws.rs.core.Response.StatusType status,
Object result) |
Response |
Response.entity(Object result) |
static Response |
Response.failResp(InvocationException e) |
static Response |
Response.failResp(InvocationType invocationType,
Throwable e) |
static Response |
Response.ok(Object result) |
static Response |
Response.producerFailResp(Throwable e) |
static Response |
Response.providerFailResp(Throwable e) |
static Response |
Response.status(javax.ws.rs.core.Response.StatusType status) |
static Response |
Response.success(Object result,
javax.ws.rs.core.Response.StatusType status) |
static Response |
Response.succResp(Object result) |
| Modifier and Type | Method and Description |
|---|---|
default void |
AsyncResponse.complete(Response resp) |
void |
AsyncResponse.handle(Response response) |
| Modifier and Type | Method and Description |
|---|---|
Response |
InvocationExceptionToProducerResponseConverter.convert(SwaggerInvocation swaggerInvocation,
InvocationException e) |
Response |
ExceptionToProducerResponseConverter.convert(SwaggerInvocation swaggerInvocation,
T e) |
Response |
DefaultExceptionToProducerResponseConverter.convert(SwaggerInvocation swaggerInvocation,
Throwable e) |
Response |
ExceptionToProducerResponseConverters.convertExceptionToResponse(SwaggerInvocation swaggerInvocation,
Throwable e) |
static Response |
ExceptionFactory.convertExceptionToResponse(SwaggerInvocation swaggerInvocation,
Throwable e) |
| Modifier and Type | Method and Description |
|---|---|
Object |
DefaultConsumerResponseMapper.mapResponse(Response response) |
Object |
ConsumerResponseMapper.mapResponse(Response response) |
Object |
OptionalConsumerResponseMapper.mapResponse(Response response) |
| Modifier and Type | Method and Description |
|---|---|
Response |
OptionalProducerResponseMapper.mapResponse(javax.ws.rs.core.Response.StatusType status,
Object response) |
Response |
DefaultProducerResponseMapper.mapResponse(javax.ws.rs.core.Response.StatusType status,
Object response) |
Response |
ProducerResponseMapper.mapResponse(javax.ws.rs.core.Response.StatusType status,
Object response) |
Copyright © 2017–2020 The Apache Software Foundation. All rights reserved.