Class XhrConnection.XhrResponseHandler

  • All Implemented Interfaces:
    com.google.gwt.http.client.RequestCallback
    Enclosing class:
    XhrConnection

    public class XhrConnection.XhrResponseHandler
    extends Object
    implements com.google.gwt.http.client.RequestCallback
    • Constructor Detail

      • XhrResponseHandler

        public XhrResponseHandler()
    • Method Detail

      • setPayload

        public void setPayload​(JsonObject payload)
        Sets the payload which was sent to the server
        Parameters:
        payload - the payload which was sent to the server
      • onError

        public void onError​(com.google.gwt.http.client.Request request,
                            Throwable exception)
        Specified by:
        onError in interface com.google.gwt.http.client.RequestCallback
      • onResponseReceived

        public void onResponseReceived​(com.google.gwt.http.client.Request request,
                                       com.google.gwt.http.client.Response response)
        Specified by:
        onResponseReceived in interface com.google.gwt.http.client.RequestCallback