Package feign
Class ReflectiveFeign
- java.lang.Object
-
- feign.Feign
-
- feign.ReflectiveFeign
-
public class ReflectiveFeign extends Feign
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class feign.Feign
Feign.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> TnewInstance(Target<T> target)creates an api binding to thetarget.
-
-
-
Method Detail
-
newInstance
public <T> T newInstance(Target<T> target)
creates an api binding to thetarget. As this invokes reflection, care should be taken to cache the result.- Specified by:
newInstancein classFeign
-
-