|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.client.communication.XhrConnection
public class XhrConnection
Provides a connection to the /UIDL url on the server and knows how to send messages to that end point
| Nested Class Summary | |
|---|---|
class |
XhrConnection.XhrResponseHandler
|
| Constructor Summary | |
|---|---|
XhrConnection()
|
|
| Method Summary | |
|---|---|
protected XhrConnection.XhrResponseHandler |
createResponseHandler()
|
protected java.lang.String |
getUri()
Retrieves the URI to use when sending RPCs to the server |
void |
send(elemental.json.JsonObject payload)
Sends an asynchronous UIDL request to the server using the given URI. |
void |
setConnection(ApplicationConnection connection)
Sets the application connection this instance is connected to. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XhrConnection()
| Method Detail |
|---|
public void setConnection(ApplicationConnection connection)
connection - the application connection this instance is connected toprotected XhrConnection.XhrResponseHandler createResponseHandler()
public void send(elemental.json.JsonObject payload)
payload - The URI to use for the request. May includes GET parameters
RequestException - if the request could not be sentprotected java.lang.String getUri()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||