@Experimental public class ReflectiveAsyncFeign<C> extends AsyncFeign<C>
AsyncFeign.AsyncBuilder<C>
Feign.Builder, Feign.ResponseMappingDecoder
Constructor and Description |
---|
ReflectiveAsyncFeign(Feign feign,
AsyncContextSupplier<C> defaultContextSupplier,
ThreadLocal<feign.AsyncInvocation<C>> contextHolder) |
Modifier and Type | Method and Description |
---|---|
protected void |
clearInvocationContext() |
protected void |
setInvocationContext(feign.AsyncInvocation<C> invocationContext) |
protected <T> T |
wrap(Class<T> type,
T instance,
C context) |
asyncBuilder, newInstance, newInstance
public ReflectiveAsyncFeign(Feign feign, AsyncContextSupplier<C> defaultContextSupplier, ThreadLocal<feign.AsyncInvocation<C>> contextHolder)
Copyright © 2012–2022 OpenFeign. All rights reserved.