feign
feign copied to clipboard
Feign makes writing java http clients easier
feign-bom.version 11.9.1 spring-boot 2.7.2 When `feign.compression.response.enabled` is set to `true` in configuration, feign adds "Accept-Encoding" header(s) when sending request. Currently, two header fields are added (`Accept-Encoding: gzip` and `Accept-Encoding: deflate`)....
Resolves: #1565 !! This is working PoC Inspired by https://github.com/PlaytikaOSS/feign-reactive/pull/486 ## TODO - [ ] Separate Kotlin support module - [ ] Enhance test case - [ ] Refactoring -...
` org.springframework.web.HttpMediaTypeNotSupportedException: Content type 'application/octet-stream' not supported at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodArgumentResolver.readWithMessageConverters(AbstractMessageConverterMethodArgumentResolver.java:225) ~[spring-webmvc-5.2.8.RELEASE.jar!/:5.2.8.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor.readWithMessageConverters(RequestResponseBodyMethodProcessor.java:158) ~[spring-webmvc-5.2.8.RELEASE.jar!/:5.2.8.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor.resolveArgument(RequestResponseBodyMethodProcessor.java:131) ~[spring-webmvc-5.2.8.RELEASE.jar!/:5.2.8.RELEASE] at org.springframework.web.method.support.HandlerMethodArgumentResolverComposite.resolveArgument(HandlerMethodArgumentResolverComposite.java:121) ~[spring-web-5.2.8.RELEASE.jar!/:5.2.8.RELEASE] at org.springframework.web.method.support.InvocableHandlerMethod.getMethodArgumentValues(InvocableHandlerMethod.java:167) ~[spring-web-5.2.8.RELEASE.jar!/:5.2.8.RELEASE] at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:134) ~[spring-web-5.2.8.RELEASE.jar!/:5.2.8.RELEASE] atorg.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) ~[spring-webmvc-5.2.8.RELEASE.jar!/:5.2.8.RELEASE] ` when I...
```java package feign.reactive; public class ReactorFeign extends ReactiveFeign { public static class Builder extends ReactiveFeign.Builder { private Scheduler scheduler = Schedulers.elastic(); // there is no .elastic() method } } ```
I'm having an issue running unit tests with gradle while using feign-reactive-wrappers and looking for possible advice. Simple working client example looks like: ``` return ReactorFeign.builder() .contract(new SpringContract()) .target(MyClient.class, target);...
Hi All, I have the folloging feign client: ``` @FeignClient(name = "MdsDataClient", url = "${integration.mds.host.url}", decode404 = true) public interface MdsClient { @GetMapping(value = "{path}") Response get( @PathVariable("path") String path,...
example: @GetMapping(value = "/api/proxy/v106/uh5qyp14?headerStrategy=apiAuthHeader") ActionResult scanTemplateUrlDetail(@RequestParam("imgUrl") String imgUrl, @RequestParam("templateId") String templateId); api/proxy/v106/uh5qyp14?imgUrl=11&imgUrl=11&templateId=11&templateId
feign in master branch I found that `FeignException` enforces the length of body not to exceed 400, use below two param: ``` private static final int MAX_BODY_BYTES_LENGTH = 400; private...
first time to run, RequestTemplate.path() resturns a value without "target" ``` public String path() { StringBuilder path = new StringBuilder(); if (this.target != null) { //this.target is null path.append(this.target); }...
We are using Feign 10.7.4 to execute a POST request with an empty body. In this case Feign does not add a Content-Length header to the request. According to the...