users@jersey.java.net

[Jersey] _at_PathParam Type Conversion

From: Sam (Stephen Samuel) <"Sam>
Date: Wed, 28 Mar 2012 13:57:41 +0100

Hi,

Been googling for an hour but can't find anything.

I want to be able to register path parameter type converters like spring
MVC.

Eg,

@Path("{dataset}")
public Response example(@PathParam("dataset") Dataset ds) {}

And then Dataset is converted using my registered converter.


-- 
-Sam