Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated encoded and add comment #1108

Merged
merged 1 commit into from
Nov 6, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions core/src/main/java/feign/Param.java
Original file line number Diff line number Diff line change
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