|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.client.communication.XhrConnectionError
public class XhrConnectionError
XhrConnectionError provides detail about an error which occured during an XHR request to the server
| Constructor Summary | |
|---|---|
XhrConnectionError(Request request,
elemental.json.JsonObject payload,
Response response)
Constructs an event from the given request, response and payload |
|
XhrConnectionError(Request request,
elemental.json.JsonObject payload,
java.lang.Throwable exception)
Constructs an event from the given request, payload and exception |
|
| Method Summary | |
|---|---|
java.lang.Throwable |
getException()
Returns the exception which caused the problem, if available |
elemental.json.JsonObject |
getPayload()
Returns the payload which was sent to the server |
Request |
getRequest()
Returns the request for which the problem occurred |
Response |
getResponse()
Returns the received response, if available |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XhrConnectionError(Request request,
elemental.json.JsonObject payload,
java.lang.Throwable exception)
request - the request which failedpayload - the payload which was going to the serverexception - the exception describing the problem
public XhrConnectionError(Request request,
elemental.json.JsonObject payload,
Response response)
request - the request which failedpayload - the payload which was going to the serverresponse - the response for the request| Method Detail |
|---|
public java.lang.Throwable getException()
public Request getRequest()
public Response getResponse()
public elemental.json.JsonObject getPayload()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||