feign
feign copied to clipboard
Feign makes writing java http clients easier
Currently Feign supports configure `closeAfterDecode` globally and enabled by default, It make sense for most use case, except for streaming types. for example, I'm using `spring-cloud-openfeign` ```java @GetMapping public org.springframework.core.io.Resource...
Feign logging FULL is very verbose, up to 16 log messages per REST call (depending on headers). Is there any chance of an option to produce just two log messages...
in class `feign.AsyncResponseHandler` ```java if (Response.class == returnType) { if (response.body() == null) { resultFuture.complete(response); } else if (response.body().length() == null || response.body().length() > MAX_RESPONSE_BUFFER_SIZE) { shouldClose = false; resultFuture.complete(response);...
The Jackson encoder does not seem to be able to encode the body when the type is an interface and the runtime type is an implementation of that interface. I've...
I am getting "Illegal repetition\r\n{ " Exception when I am trying to pass nested JSON Object as the request header. If it is single JSON object it works fine. Is...
In my project, I use the request interceptor to sign the request. I thought that there would be a corresponding response interceptor to verify the signature, but I didn't find...
Bug report Need Feign to use proxy with credentials and defining something like this in Spring-Boot: ``` @Bean public Client feignClient() { return new Client.Proxied(null, null, new Proxy(Proxy.Type.HTTP, new InetSocketAddress(proxyHost,...
I'm looking at [ApacheHttpClient](https://github.com/OpenFeign/feign/blob/master/httpclient/src/main/java/feign/httpclient/ApacheHttpClient.java), and was wondering about something: it internally creates an HttpClient to perform the http requests, but doesn't seem to be closing it. public ApacheHttpClient() { this(HttpClientBuilder.create().build());...
Why the reponse type is `Response.class` and `feign.Response#body` should not close when response data with header "Transfer-Encoding: chunked" and not contain "Content-Length"? `response.body().length()` will return null and `shouldClose` variable will...