public abstract class Feign extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Feign.Builder |
Constructor and Description |
---|
Feign() |
Modifier and Type | Method and Description |
---|---|
static Feign.Builder |
builder() |
static String |
configKey(Class targetType,
Method method)
Configuration keys are formatted as unresolved see tags.
|
static String |
configKey(Method method)
Deprecated.
use
configKey(Class, Method) instead. |
abstract <T> T |
newInstance(Target<T> target)
Returns a new instance of an HTTP API, defined by annotations in the
Contract ,
for the specified target . |
public static Feign.Builder builder()
public static String configKey(Class targetType, Method method)
MethodMetadata.configKey()
for correlation purposes.
Here are some sample encodings:
Route53
: would match a class route53.Route53
Route53#list()
: would match a method route53.Route53#list()
Route53#listAt(Marker)
: would match a method
route53.Route53#listAt(Marker)
Route53#listByNameAndType(String, String)
: would match a method
route53.Route53#listAt(String, String)
targetType
- type
of the Feign interface.method
- invoked method, present on type
or its super.MethodMetadata.configKey()
@Deprecated public static String configKey(Method method)
configKey(Class, Method)
instead.Copyright © 2012–2016 OpenFeign. All rights reserved.