public class XhrConnectionError extends Object
| Constructor and Description |
|---|
XhrConnectionError(com.google.gwt.http.client.Request request,
JsonObject payload,
com.google.gwt.http.client.Response response)
Constructs an event from the given request, response and payload.
|
XhrConnectionError(com.google.gwt.http.client.Request request,
JsonObject payload,
Throwable exception)
Constructs an event from the given request, payload and exception.
|
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getException()
Returns the exception which caused the problem, if available.
|
JsonObject |
getPayload()
Returns the payload which was sent to the server.
|
com.google.gwt.http.client.Request |
getRequest()
Returns the request for which the problem occurred.
|
com.google.gwt.http.client.Response |
getResponse()
Returns the received response, if available.
|
public XhrConnectionError(com.google.gwt.http.client.Request request,
JsonObject payload,
Throwable exception)
request - the request which failedpayload - the payload which was going to the serverexception - the exception describing the problempublic XhrConnectionError(com.google.gwt.http.client.Request request,
JsonObject payload,
com.google.gwt.http.client.Response response)
request - the request which failedpayload - the payload which was going to the serverresponse - the response for the requestpublic Throwable getException()
public com.google.gwt.http.client.Request getRequest()
public com.google.gwt.http.client.Response getResponse()
public JsonObject getPayload()
Copyright © 2018 Vaadin Ltd. All rights reserved.