Skip to content

Commit

Permalink
Deprecated encoded and add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
velo committed Nov 5, 2019
1 parent 8808ff2 commit 3dcb7e4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions core/src/main/java/feign/Param.java
Expand Up @@ -36,10 +36,12 @@
Class<? extends Expander> expander() default ToStringExpander.class;

/**
* Specifies whether argument is already encoded The value is ignored for headers (headers are
* never encoded)
* {@code encoded} has been maintained for backward compatibility and should be deprecated. We no
* longer need it as values that are already pct-encoded should be identified during expansion and
* passed through without any changes
*
* @see QueryMap#encoded
* @deprecated
*/
boolean encoded() default false;

Expand Down

0 comments on commit 3dcb7e4

Please sign in to comment.