| Modifier and Type | Field and Description |
|---|---|
static ProducerOperationHandler |
INSTANCE |
| Constructor and Description |
|---|
ProducerOperationHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
completableFutureInvoke(Invocation invocation,
SwaggerProducerOperation producerOperation,
AsyncResponse asyncResp) |
void |
doCompletableFutureInvoke(Invocation invocation,
SwaggerProducerOperation producerOperation,
AsyncResponse asyncResp) |
Response |
doInvoke(Invocation invocation,
SwaggerProducerOperation producerOperation) |
void |
handle(Invocation invocation,
AsyncResponse asyncResp) |
protected Response |
processException(SwaggerInvocation invocation,
Throwable e) |
protected boolean |
shouldPrintErrorLog(Throwable throwable) |
void |
syncInvoke(Invocation invocation,
SwaggerProducerOperation producerOperation,
AsyncResponse asyncResp) |
public static final ProducerOperationHandler INSTANCE
public void handle(Invocation invocation, AsyncResponse asyncResp)
public void completableFutureInvoke(Invocation invocation, SwaggerProducerOperation producerOperation, AsyncResponse asyncResp)
public void doCompletableFutureInvoke(Invocation invocation, SwaggerProducerOperation producerOperation, AsyncResponse asyncResp)
public void syncInvoke(Invocation invocation, SwaggerProducerOperation producerOperation, AsyncResponse asyncResp)
public Response doInvoke(Invocation invocation, SwaggerProducerOperation producerOperation)
protected boolean shouldPrintErrorLog(Throwable throwable)
protected Response processException(SwaggerInvocation invocation, Throwable e)
Copyright © 2017–2022 The Apache Software Foundation. All rights reserved.