Comments (3)
If you have one parameter that is a URI, that will be used as you base URL for a request
@RequestLine("GET /")
String getMeStuff(URI uri);
feign/core/src/main/java/feign/Contract.java
Line 137 in eff49d7
from feign.
Thanks @velo. It works, but with small correction.
I had to remove the /
in request line, overwise it added a trailing slash
@RequestLine("GET")
String getMeStuff(URI uri);
from feign.
Is this within an expected usage scenario or we rely on current internal implementation that might change?
from feign.
Related Issues (20)
- Capability can't find correct enrich method HOT 5
- Feign does not proxy the methods inherited from interface if there are manually added ones
- HC5 client can't send compressed POST requests HOT 1
- Documentation for the metrics reported to micrometer when using MicrometerCapability HOT 5
- Feign.Builder have a requestInterceptor bug HOT 2
- RetryableException should hold the methodKey as well
- Can't set request header in json format HOT 5
- after upgrade version from springboot 3.1.6 to 3.2.0 can not start HOT 1
- Performance discussion about default openfeign client HOT 6
- Noop Hostname Verifier option does not appear to work with Java 21
- Bug:ConcurrentModificationException at feign.SynchronousMethodHandler.targetRequest(SynchronousMethodHandler.java:162)
- Error in RequestTemplate#uri when there're both query and fragment
- Error in Expressions.PathStyleExpression#getValue
- @GetMapping Required String parameter is not present HOT 3
- JacksonJrDecoder is not able to deserialize generics
- feign.jackson.jr.JacksonJrDecoder#findTransformer is not extendable
- [Feature Request] Support custom tags for Dropwizard metrics
- Unexpected FeignException instead of ResponseEntity when the server returns 401 HOT 1
- Response.protocolVersoin may be null causing NPEs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from feign.