You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wink.apache.org by "Gerhard Petracek (JIRA)" <ji...@apache.org> on 2013/07/13 22:14:07 UTC
[jira] [Closed] (WINK-38) @Encoded parameter ignored on method
[ https://issues.apache.org/jira/browse/WINK-38?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gerhard Petracek closed WINK-38.
--------------------------------
> @Encoded parameter ignored on method
> ------------------------------------
>
> Key: WINK-38
> URL: https://issues.apache.org/jira/browse/WINK-38
> Project: Wink
> Issue Type: Bug
> Components: Common
> Affects Versions: 0.1
> Reporter: Jesse Ramos
> Priority: Minor
> Fix For: 0.1
>
> Attachments: WINK-38-patch.txt
>
>
> The @Encoded method is not honored when used on a method.
> Ex:
> @GET
> @Encoded
> @Path("method/city")
> public String getShopInCityMethod(@QueryParam("location") String location)
> In this case, the query parameter is not encoded. According to the JSR 311 javadoc, annotating a method with this should disable automatic decoding for all parameters.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira