I\'m trying to bind values in a GET request to a POJO.
The values are parameters in a HTTP GET request. I\'m using JSONP to pass the parameters however it looks like JS
I was able resolve this by using @com.sun.jersey.api.core.InjectParam of jersey
public JSONWithPadding doSomething(@InjectParam final MyPojo argPojo)
Then the Pojo looks like this
public class MyPojo
{
/** */
@QueryParam("value1")
private String value1;
/** */
@QueryParam("value2")
private String value2;
/** */
@QueryParam("value3")
private List value3;