@Component public class ProducerOperationFilter extends Object implements ProducerFilter
| Constructor and Description |
|---|
ProducerOperationFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected Response |
convertResultToResponse(Invocation invocation,
SwaggerProducerOperation producerOperation,
Object result) |
String |
getName() |
protected CompletableFuture<Object> |
invoke(Invocation invocation,
Object instance,
Method method,
Object[] args) |
CompletableFuture<Response> |
onFilter(Invocation invocation,
FilterNode nextNode) |
protected void |
processMetrics(Invocation invocation) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInvocationTypesisEnabled, isInEventLooppublic static final String NAME
public CompletableFuture<Response> onFilter(Invocation invocation, FilterNode nextNode)
onFilter in interface Filterinvocation - invocationnextNode - node filter nodeprotected CompletableFuture<Object> invoke(Invocation invocation, Object instance, Method method, Object[] args)
protected Response convertResultToResponse(Invocation invocation, SwaggerProducerOperation producerOperation, Object result)
protected void processMetrics(Invocation invocation)
Copyright © 2017–2022 The Apache Software Foundation. All rights reserved.