Created
October 23, 2013 09:31
-
-
Save mkristian/7115475 to your computer and use it in GitHub Desktop.
resty gwt - resource with query
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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