users@jersey.java.net

_at_FormParam with FormDataContentDisposition

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Tue, 11 Nov 2008 15:18:13 +0100

Hi,

I just committed support in the trunk that enables you to do the
following:

         @POST
         @Consumes("multipart/form-data")
         public String post(
                 @FormParam("file") JAXBBean f,
                 @FormParam("file") FormDataContentDisposition fdc)
throws Exception {
             ..
         }

so it is possible to get parameters values like the value of the
"filename" parameter, if present.

Paul.