Oh, duh, that's clearly incoherent. Try this version instead: Forget about urlencoded forms. I want to accept a post of a slug of JSON, and I want to know to what extent CXF JAX-RS will bind it to parameters for me versus my parsing it with jackson for myself.
On Wed, Jan 26, 2011 at 8:43 AM, Benson Margulies <[email protected]> wrote: > Sergey, > > I think I get this, but I wanted to check. > > Does the following expect a post, with a param named 'params', and > parse the results as json into a map for me? > > @Path("/whatever") > @POST > @Consumes("application/json") > @Produces("application/json") > public Response whatever(@FormParam(value="params") Map<String, > String> keysAndValues) > { > .... > } > > --benson >
