public class ReflectiveFeign<C> extends Feign
Feign.Builder, Feign.ResponseMappingDecoder| Modifier and Type | Method and Description |
|---|---|
<T> T |
newInstance(Target<T> target)
creates an api binding to the
target. |
<T> T |
newInstance(Target<T> target,
C requestContext) |
public <T> T newInstance(Target<T> target)
target. As this invokes reflection, care should be taken
to cache the result.newInstance in class FeignCopyright © 2012–2023 OpenFeign. All rights reserved.