You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "ghs (JIRA)" <ji...@apache.org> on 2015/11/17 09:37:11 UTC
[jira] [Updated] (CXF-6679) @Context HttpServletRequest
request.getParameterMap() can't contain post parameters by
application/x-www-form-urlencoded
[ https://issues.apache.org/jira/browse/CXF-6679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ghs updated CXF-6679:
---------------------
Attachment: CxfPostParameters_.zip
This is a sample to explain the bug.
> @Context HttpServletRequest request.getParameterMap() can't contain post parameters by application/x-www-form-urlencoded
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: CXF-6679
> URL: https://issues.apache.org/jira/browse/CXF-6679
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS
> Affects Versions: 3.1.1
> Reporter: ghs
> Attachments: CxfPostParameters_.zip
>
>
> @POST
> @Path("/post")
> public String post( @Context HttpServletRequest request ){
> Map<String, String[]> reMap = request.getParameterMap();
> System.out.println( reMap );
> return reMap.toString();
> }
> In reMap, there are no post parameters.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)