public static class ServerRpcHandler.RpcRequest extends Object implements Serializable
Constructor and Description |
---|
RpcRequest(String jsonString,
VaadinRequest request) |
Modifier and Type | Method and Description |
---|---|
int |
getClientToServerId()
Gets the id of the client to server message.
|
String |
getCsrfToken()
Gets the CSRF security token (double submit cookie) for this request.
|
JsonObject |
getRawJson()
Gets the entire request in JSON format, as it was received from the
client.
|
JsonArray |
getRpcInvocationsData()
Gets the data to recreate the RPC as requested by the client side.
|
int |
getSyncId()
Gets the sync id last seen by the client.
|
String |
getWidgetsetVersion()
Gets the widget set version reported by the client.
|
boolean |
isResynchronize()
Checks if this is a request to resynchronize the client side.
|
public RpcRequest(String jsonString, VaadinRequest request)
public String getCsrfToken()
public JsonArray getRpcInvocationsData()
public int getSyncId()
public boolean isResynchronize()
public int getClientToServerId()
public JsonObject getRawJson()
Note: This is a shared reference - any modifications made will be shared.
public String getWidgetsetVersion()
Copyright © 2019 Vaadin Ltd. All rights reserved.