title: Using @Consume with GET request in Jersey Rest
body: <p>I'm trying to bind values in a GET request to a POJO. </p>
  
  <p>The values are parameters in a HTTP GET request. I'm using JSONP to pass the parameters however it looks like JSONP pushes the JSON object up onto the Request line so its not really a JSON object which is being sent but instead just name value pairs on the URL.</p>
  
  <p>Is it possible to map the values in my GET request to a POJO? Jersey gives the following exception when i try binding</p>
  
  <p>A HTTP GET method, public void handleJSONP(MyPojo), should not consume any entity.</p>
  
  <p>The binding code is looking in the request body however it doesnt exist because it is a GET request. Is there any other way to bind the values in the request without having to manually include a @QueryParam entry for each ?</p>
  
  <p>Thanks</p>