Class and Description |
---|
feign.QueryMapEncoder.Default
use
BeanQueryMapEncoder instead. default encoder uses reflection to inspect
provided objects Fields to expand the objects values into a query string. If you
prefer that the query string be built using getter and setter methods, as defined
in the Java Beans API, please use the BeanQueryMapEncoder |
Method and Description |
---|
feign.RequestTemplate.append(CharSequence) |
feign.Response.Body.asReader()
favor
Body#asReader(Charset) |
feign.RequestTemplate.body(Request.Body)
use
RequestTemplate.body(byte[], Charset) instead. |
feign.Feign.configKey(Method)
use
Feign.configKey(Class, Method) instead. |
feign.FeignException.content()
use
FeignException.responseBody() instead. |
feign.Request.create(Request.HttpMethod, String, Map<String, Collection<String>>, byte[], Charset) |
feign.Request.create(String, String, Map<String, Collection<String>>, byte[], Charset) |
feign.Request.Body.encoded(byte[], Charset)
please use
Request.Body.create(byte[], Charset) |
feign.RequestTemplate.insert(int, CharSequence) |
feign.Request.method()
@see
Request.httpMethod() |
feign.RequestTemplate.method(String)
see
RequestTemplate#method(HttpMethod) |
feign.Contract.BaseContract.parseAndValidateMetadata(Method) |
feign.RequestTemplate.requestBody()
this abstraction is leaky and will be removed in later releases.
|
Constructor and Description |
---|
feign.Logger.JavaLogger()
Use
#JavaLogger(String) or #JavaLogger(Class) instead.
This constructor can be used to create just one logger. Example =
Logger.JavaLogger().appendToFile("logs/first.log")
If you create multiple loggers for multiple clients and provide different files
to write log - you'll have unexpected behavior - all clients will write same log
to each file.
That's why this constructor will be removed in future. |
feign.Request.Options(int, int)
please use
#Options(long, TimeUnit, long, TimeUnit, boolean) |
feign.Request.Options(int, int, boolean)
please use
#Options(long, TimeUnit, long, TimeUnit, boolean) |
feign.RequestTemplate(RequestTemplate)
replaced by
RequestTemplate.from(RequestTemplate) |
Annotation Type Element and Description |
---|
feign.Param.encoded |
Copyright © 2012–2020 OpenFeign. All rights reserved.