[jax-rs-spec users] Setting HttpServletRequest parameters from a form payload

From: Sergey Beryozkin <>
Date: Mon, 13 Apr 2015 15:43:41 -0500

Hi All,

Now and then I'm seeing a question/issue raised against CXF similar to
this one:


public String post(@Context HttpServletRequest request) {

      String[] values = request.getParameterValues("a");

should the above code return a "b,c" array ? My answer is JAX-RS does
not require it. Can someone clarify please ?

Thanks, Sergey