feign
feign copied to clipboard
Feign makes writing java http clients easier
I want add some requestinterceptors to a specific feignclient,those requestinterceptors only works for feign1,but not work for feign2. can RequestInterceptor add an method to decide whether to add the interceptor...
…ed period multiplied by 1.5, do a refactor on default retryer
The initial wait period for the default retryer is the provided period multiplied by a factor of 1.5
The initial wait period for the default retryer is the provided period multiplied by a factor of 1.5. I believe this is a bug since I would expect that the...
Hello, I have some questions about using Feign in Spring Cloud. I have a FeignClient: ```java @FeignClient(name = "device-code", url = AzureTokenClient.BASE_URL) public interface AzureTokenClient { String SCOPE = URLEncoder.encode("offline_access...
Given this feign client: `interface UserClient { @RequestLine("GET /users/{name}") fun getUser(@Param("name") name: String): Optional }` `val userClient = Feign.builder() .encoder(JacksonEncoder(objectMapper)) .decoder(OptionalDecoder(JacksonDecoder(objectMapper))) .target(UserClient::class.java, BASE_URL) ` when I unit test this: `...
Reopen PR #2311 Fix Isuue https://github.com/OpenFeign/feign/issues/1721 Content-Length may be added twice.
When using OpenFeign in the following way (no name attribute specified): ```java @RequestLine("GET /getSomething?id={id}") String getSomething(@Param String id); ``` You may encounter the following exception: `... annotation was empty on...
I run a wiremock-server which is configured to return a created-response with a location header. The location header is put with an uppercase "L". A simple springboot test checks if...
Hi all, We are logging the outgoing FeignClient requests in our Spring Boot applications. These logs include traceId, spanId and parentId. On the called service side the same information gets...
`Response` constructor does not indicate that `protocolVersion` can be null (I think it'd be good to use at least some version of `@Nullable` instead of a comment) ``` private Response(Builder...