Skip to content

Commit 4e84048

Browse files
authored
Deprecated encoded and add comment (#1108)
1 parent d5f810f commit 4e84048

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

core/src/main/java/feign/Param.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,12 @@
3636
Class<? extends Expander> expander() default ToStringExpander.class;
3737

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

0 commit comments

Comments
 (0)