com.vaadin.client.communication
Class XhrConnection.XhrResponseHandler

java.lang.Object
  extended by com.vaadin.client.communication.XhrConnection.XhrResponseHandler
Enclosing class:
XhrConnection

public class XhrConnection.XhrResponseHandler
extends java.lang.Object


Constructor Summary
XhrConnection.XhrResponseHandler()
           
 
Method Summary
 void onError(Request request, java.lang.Throwable exception)
           
 void onResponseReceived(Request request, Response response)
           
 void setPayload(elemental.json.JsonObject payload)
          Sets the payload which was sent to the server
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XhrConnection.XhrResponseHandler

public XhrConnection.XhrResponseHandler()
Method Detail

setPayload

public void setPayload(elemental.json.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(Request request,
                    java.lang.Throwable exception)

onResponseReceived

public void onResponseReceived(Request request,
                               Response response)


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.