I have been googling to find out that when I use jax-rs on apache cxf, How can I customize the code I see, and it seems that it only supports primitives, nm and a special hack that is a manufacturer with a string parameter associated with @formapara. It forces me to use string instead of forming. If I want to use FormParam, it's kind of ugly, is there a better way to do this?
@POST @ path ("/ xxx") public string adpackage (@formam ("start date") Date start date) {...}
< P> Thank you
The parameterhandler must be registered starting with CXF 2.3.2.
Comments
Post a Comment