Skip to content

Commit 9ffd644

Browse files
astikadriancole
authored andcommitted
fix typo in the documentation (OpenFeign#495)
Use replaceHeader instead of header in the example.
1 parent 4eff532 commit 9ffd644

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/main/java/feign/RequestInterceptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* For example: <br>
2424
* <pre>
2525
* public void apply(RequestTemplate input) {
26-
* input.replaceHeader(&quot;X-Auth&quot;, currentToken);
26+
* input.header(&quot;X-Auth&quot;, currentToken);
2727
* }
2828
* </pre>
2929
* <br> <br><b>Configuration</b><br> <br> {@code RequestInterceptors} are configured via {@link

0 commit comments

Comments
 (0)