feign
feign copied to clipboard
Feign makes writing java http clients easier
Feign allow to add request interceptor. Sometimes it is not sufficient and we need to use the low level client implementation extension mechanism but the requestTemplate context is not flowing...
## Problem Let's say I have a request template that looks like this: ```java @RequestLine("GET /{env}/{resource}") void getResource(@Param("env") String env, @Param("resource") String resource); ``` In the application that defines this...
I am using open feign to communicate to rest endpoints from a spring boot application. In the feign client declaration I am using spring web annotation such as @RequestHeader and...
This should support at least an Observer implementation (plus other ideas @benjchristensen has in mind)
Hello everyone, In one of our project, we would like to use feign as a proxy client. As such, we need multiple dynamic resolutions: - http method - headers -...
Hi, We've found a bug in `FeignException.errorStatus(methodKey, feignResponse)` that in some cases, when the response body is gzip compressed, the parsed exception message contains raw byte array output which is...
in my case: ```gradle testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0' testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0' compile 'org.springframework.boot:spring-boot-starter-web:1.5.22.RELEASE' compile('io.github.openfeign:feign-spring4:11.2') compile('io.github.openfeign:feign-gson:11.2') compile('io.github.openfeign:feign-httpclient:11.2') compile("org.apache.httpcomponents:httpcore-nio:4.4.10") compile("org.apache.httpcomponents:httpasyncclient:4.1.4") compile("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.9.8") ``` MyBean ```java private Integer age; private String name; @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale...
While upgrading Feign in SC OpenFeign to versions: 11.1, 11.2 (btw., I can't see this tag in repo, but the artifact is present in mvn), I have stumbled upon an...
I have a class that extends `Request.Options` so I can pass additional parameters to a custom Feign client. ``` class CustomOptions( val customOption: Int ) : Request.Options() ``` And in...
1. we expose much implemention detail to user api , user must identify the sync feign client/builder and the async client/buider. If we only expose client to user , and...