Browse Source

fix typo in the documentation (#495)

Use replaceHeader instead of header in the example.
pull/499/head
Romain Gonord 8 years ago committed by Adrian Cole
parent
commit
9ffd644502
  1. 2
      core/src/main/java/feign/RequestInterceptor.java

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

@ -23,7 +23,7 @@ package feign; @@ -23,7 +23,7 @@ package feign;
* For example: <br>
* <pre>
* public void apply(RequestTemplate input) {
* input.replaceHeader(&quot;X-Auth&quot;, currentToken);
* input.header(&quot;X-Auth&quot;, currentToken);
* }
* </pre>
* <br> <br><b>Configuration</b><br> <br> {@code RequestInterceptors} are configured via {@link

Loading…
Cancel
Save