You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -109,6 +109,19 @@ should work. Feign's default contract defines the following annotations:
109
109
|`@HeaderMap`| Parameter | Defines a `Map` of name-value pairs, to expand into `Http Headers`|
110
110
|`@Body`| Method | Defines a `Template`, similar to a `UriTemplate` and `HeaderTemplate`, that uses `@Param` annotated values to resolve the corresponding `Expressions`.|
111
111
112
+
113
+
> **Overriding the Request Line**
114
+
>
115
+
> If there is a need to target a request to a different host then the one supplied when the Feign client was created, or
116
+
> you want to supply a target host for each request, include a `java.net.URI` parameter and Feign will use that value
Feign `Expressions` represent SimpleStringExpressions (Level1) as defined by [URITemplate-RFC6570](https://tools.ietf.org/html/rfc6570). `Expressions` are expanded using
0 commit comments