Interface RpcInvocationHandler
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AbstractRpcInvocationHandler
,AttachExistingElementRpcHandler
,AttachTemplateChildRpcHandler
,EventRpcHandler
,MapSyncRpcHandler
,NavigationRpcHandler
,PublishedServerEventHandlerRpcHandler
,ReturnChannelHandler
RPC invocation handler interface.
Each instance must return unique rpc type (see getRpcType()
and
handle a JsonObject
RPC data using handle(UI, JsonObject)
method.
For internal use only. May be renamed or removed in a future release.
- Since:
- 1.0
- Author:
- Vaadin Ltd
-
Method Summary
-
Method Details
-
getRpcType
String getRpcType()Gets unique RPC type which this handler is applicable for.- Returns:
- the unique rpc type
-
handle
Handles RPC datainvocationJson
usingui
as a context.- Parameters:
ui
- the UI to handle against, notnull
invocationJson
- the RPC data to handle, notnull
- Returns:
- an optional runnable
-