cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-6679) @Context HttpServletRequest request.getParameterMap() can't contain post parameters by application/x-www-form-urlencoded
Date Tue, 17 Nov 2015 10:37:10 GMT

    [ https://issues.apache.org/jira/browse/CXF-6679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15008454#comment-15008454
] 

Sergey Beryozkin commented on CXF-6679:
---------------------------------------

Can you create a servlet and try to get the map, will you get the map populated ?

>  @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)

Mime
View raw message