com.vaadin.flow.server.communication.rpc.
Class NavigationRpcHandler
- java.lang.Object
-
- com.vaadin.flow.server.communication.rpc.NavigationRpcHandler
-
All Implemented Interfaces:
public class NavigationRpcHandler extends Object implements RpcInvocationHandler
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
Constructors Constructor Description NavigationRpcHandler()
-
-
-
Method Detail
-
getRpcType
public String 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
public Optional<Runnable> handle(UI ui, elemental.json.JsonObject invocationJson)
Description copied from interface:
RpcInvocationHandler
Handles RPC data
invocationJson
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
-
-