feign
feign copied to clipboard
Feign makes writing java http clients easier
Hi, Is it valid to put the hostname into the RequestLine annotation like this? `@RequestLine("POST https://{site}.service.com/service/rest/auth")` and if so, how should I set `target`? I haven't tried yet because I'm...
Tenho a seguinte assinatura de método: `@RequestLine("POST /get-contracts?gw-app-key={token}") @Headers({ "Content-Type: application/json" }) ContractsFinResponse getContracts(@Param("token") String token, ContractClientRequest contractClientRequest);` O request é executado com sucesso utilizando a versão 9.7.0 Ao atualizar...
Hi, as mentioned in this issue #725, it is not possible to customise behaviour of throwing by wrapping by Feign all exceptions thrown from Custom Decoders into `DecodeException`. It would...
feign 10.12, 11.5. FeignException serialization produces error when cause class is UnknowHostException. How to reproduce: ``` @Test public void testFeignSerialization() throws IOException { try { SomeApi target = new Feign.Builder()...
Hello, I have been using @FeignClient annotation on the interface to connect to multiple REST clients but now i have a requirement to a add a non-http method in the...
Using a basic interface : ``` public interface SomeResourceClient { @RequestLine("GET /resources") CompletableFuture all(); } ``` With a basic configuration : ``` @Configuration public class FeignConfig { @Bean public SomeResourceClient...
Hi, Client: ``` import java.net.URI; import java.util.Map; import feign.HeaderMap; import feign.RequestLine; import feign.Response; public interface GenericFeignApi { @RequestLine("GET") Response get(URI uri, @HeaderMap Map headers); } ``` Open feign 11.1 produces...
Currently Feign will not resolve methods with `BuildEncodedTemplateFromArgs` if they have 0 or more than 1 body parameters, which prevents the usage of custom Feign encoders. There are use cases...
Question: Is there a global config for ``path`` Reason: Could some day v1 would be changed to v2 v3 vn(use an external tomcat deploy under different dir).... feign comsumer: Correct:...
I am experiencing considerable latency using feign-soap (or feign-jaxb) when: - Preloading jaxb context with a list of jaxb classes (1 minute or more): ``` new JAXBContextFactory.Builder() .withMarshallerJAXBEncoding(StandardCharsets.UTF_8.toString()) .withMarshallerFormattedOutput(true) .build(classes);...