Class NavigationRpcHandler
java.lang.Object
com.vaadin.flow.server.communication.rpc.NavigationRpcHandler
- All Implemented Interfaces:
RpcInvocationHandler
,Serializable
RPC handler for Navigation.
For internal use only. May be renamed or removed in a future release.
- Since:
- 1.0
- Author:
- Vaadin Ltd
- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
NavigationRpcHandler
public NavigationRpcHandler()
-
-
Method Details
-
getRpcType
Description copied from interface:RpcInvocationHandler
Gets unique RPC type which this handler is applicable for.- Specified by:
getRpcType
in interfaceRpcInvocationHandler
- Returns:
- the unique rpc type
-
handle
Description copied from interface:RpcInvocationHandler
Handles RPC datainvocationJson
usingui
as a context.- Specified by:
handle
in interfaceRpcInvocationHandler
- Parameters:
ui
- the UI to handle against, notnull
invocationJson
- the RPC data to handle, notnull
- Returns:
- an optional runnable
-