Interface | Description |
---|---|
Client |
Submits HTTP
requests . |
Contract |
Defines what annotations and values are valid on interfaces.
|
InvocationHandlerFactory |
Controls reflective method dispatch.
|
InvocationHandlerFactory.MethodHandler |
Like
InvocationHandler.invoke(Object, java.lang.reflect.Method, Object[]) , except for a
single method. |
Param.Expander | |
RequestInterceptor |
Zero or more
RequestInterceptors may be configured for purposes such as adding headers to
all requests. |
Response.Body | |
Retryer |
Cloned for each invocation to
Client.execute(Request, feign.Request.Options) . |
Target<T> |
relationship to JAXRS 2.0 Similar to javax.ws.rs.client.WebTarget , as it produces requests. |
Class | Description |
---|---|
Client.Default | |
Contract.BaseContract | |
Contract.Default | |
Feign |
Feign's purpose is to ease development against http apis that feign restfulness.
|
Feign.Builder | |
InvocationHandlerFactory.Default | |
Logger |
Simple logging abstraction for debug messages.
|
Logger.ErrorLogger |
logs to the category
Logger at Level.FINE . |
Logger.JavaLogger |
logs to the category
Logger at Level.FINE , if loggable. |
Logger.NoOpLogger | |
MethodMetadata | |
Param.ToStringExpander | |
ReflectiveFeign | |
Request |
An immutable request to an http server.
|
Request.Options | |
RequestTemplate |
Builds a request to an http target.
|
Response |
An immutable response to an http invocation which only returns string content.
|
Retryer.Default | |
Target.EmptyTarget<T> | |
Target.HardCodedTarget<T> | |
Util |
Utilities, typically copied in from guava, so as to avoid dependency conflicts.
|
Enum | Description |
---|---|
Logger.Level |
Controls the level of logging.
|
Exception | Description |
---|---|
FeignException |
Origin exception type for all Http Apis.
|
RetryableException |
This exception is raised when the
Response is deemed to be retryable, typically via an
ErrorDecoder when the status is 503. |
Annotation Type | Description |
---|---|
Body |
A possibly templated body of a PUT or POST command.
|
HeaderMap |
A template parameter that can be applied to a Map that contains header
entries, where the keys are Strings that are the header field names and the
values are the header field values.
|
Headers |
Expands headers supplied in the
value . |
Param | |
QueryMap |
A template parameter that can be applied to a Map that contains query
parameters, where the keys are Strings that are the parameter names and the
values are the parameter values.
|
RequestLine |
Expands the request-line supplied in the
value , permitting path and query variables, or
just the http method. |