public class LocalProducerInvoker extends Object implements InvocationHandler
| Constructor and Description |
|---|
LocalProducerInvoker(SwaggerConsumer consumer,
SwaggerProducer producer) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
findSwaggerMethodName(Method consumerMethod) |
String |
getContext(String key) |
SwaggerInvocation |
getInvocation() |
Response |
getProducerResponse() |
<T> T |
getProxy() |
<T> T |
getSwaggerArgument(int idx) |
Object |
invoke(Object proxy,
Method method,
Object[] args) |
public LocalProducerInvoker(SwaggerConsumer consumer, SwaggerProducer producer)
public <T> T getProxy()
public SwaggerInvocation getInvocation()
public <T> T getSwaggerArgument(int idx)
public Response getProducerResponse()
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke in interface InvocationHandlerThrowableCopyright © 2017–2020 The Apache Software Foundation. All rights reserved.