public class RequestHolder extends Object implements RequestCallback
RequestCallback
that allows the
cancellation of pending Request
s.Constructor and Description |
---|
RequestHolder() |
Modifier and Type | Method and Description |
---|---|
void |
callback(com.google.gwt.http.client.Request request)
Invoked by the JaxrsProxy after HTTP request has been initiated.
|
com.google.gwt.http.client.Request |
getRequest() |
boolean |
isAlive() |
public void callback(com.google.gwt.http.client.Request request)
RequestCallback
RequestException
will be passed to the provided ErrorCallback
.callback
in interface RemoteCallback<com.google.gwt.http.client.Request>
callback
in interface RequestCallback
request
- the Request
that has been initiated.public com.google.gwt.http.client.Request getRequest()
Request
or null if request has failed.public boolean isAlive()
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.