Skip to content

Instantly share code, notes, and snippets.

@mkristian
Created October 23, 2013 09:31
Show Gist options
  • Save mkristian/7115475 to your computer and use it in GitHub Desktop.
Save mkristian/7115475 to your computer and use it in GitHub Desktop.
resty gwt - resource with query
Resource resource = new Resource(GWT.getModuleBaseURL(), new HashMap<String, String>());
resource = resource.addQueryParam("includeparam", "false");
try
{
resource.get().send( new RequestCallback() {
@Override
public void onResponseReceived( Request request, Response response )
{
// TODO Auto-generated method stub
}
@Override
public void onError( Request request, Throwable exception )
{
// TODO Auto-generated method stub
}
} );
}
catch (RequestException e)
{
// TODO Auto-generated catch block
e.printStackTrace();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment