base url
and any target-specific
headers or query parameters.Util.CONTENT_LENGTH
header.Util.CONTENT_LENGTH
header.Body
MethodMetadata.bodyIndex()
.com.google.common.base.Preconditions#checkArgument
.com.google.common.base.Preconditions#checkNotNull
.com.google.common.base.Preconditions#checkState
.requests
.Feign.configKey(Class, Method)
instead.body
and charset
.generic return type
.Response
when Response.status()
is not in the 2xx range.decoder
should process responses with
404 status, specifically returning null or empty instead of throwing FeignException
.javax.websocket.DecodeException
, raised when a problem occurs decoding a
message.type
.Decoder
.com.google.common.base.Strings#emptyToNull
.javax.websocket.EncodeException
, raised when a problem occurs encoding a
message.Encoder
.Util.RETRY_AFTER
header into an absolute date, if possible.url
and returns a response.template
, such as username
, using the variables
supplied.configKey
with the values
supplied.value
.MethodMetadata.indexToExpanderClass
is populated, this is set by contracts that support runtime
injection.MethodMetadata.indexToExpander()
.MethodMetadata.indexToExpander
is null, classes here will be instantiated by newInstance.InvocationHandler.invoke(Object, java.lang.reflect.Method, Object[])
, except for a
single method.Response.Body.asInputStream()
and Response.Body.asReader()
can be called more than once.Logger
at Level.FINE
.Logger
at Level.FINE
, if loggable.Map<String, ?>
, indicating the object to encode is a form.Map<String, ?>
.Contract
,
for the specified target
.target
.Contract.BaseContract.parseAndValidatateMetadata(Class)
.name
with the values
supplied.query(false, String, String...)
query(false, String, Iterable<String>)
unencoded
map.RequestInterceptors
may be configured for purposes such as adding headers to
all requests.value
, permitting path and query variables, or
just the http method.supertype
, based on the genericContext
, into its upper bounds.Response
is deemed to be retryable, typically via an
ErrorDecoder
when the status
is 503.Util.RETRY_AFTER
header present in 503
status.Client.execute(Request, feign.Request.Options)
.javax.ws.rs.client.WebTarget
, as it produces requests.com.google.common.base.Strings#emptyToNull
.com.google.common.io.ByteStreams.toByteArray()
.com.google.common.io.CharStreams.toString()
.Copyright © 2012–2016 OpenFeign. All rights reserved.