Class AttachExistingElementRpcHandler
java.lang.Object
com.vaadin.flow.server.communication.rpc.AbstractRpcInvocationHandler
com.vaadin.flow.server.communication.rpc.AttachExistingElementRpcHandler
- All Implemented Interfaces:
RpcInvocationHandler
,Serializable
RPC handler for a client-side response on attach existing element request.
For internal use only. May be renamed or removed in a future release.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets unique RPC type which this handler is applicable for.handleNode
(StateNode node, elemental.json.JsonObject invocationJson) Handle the RPC datainvocationJson
using targetnode
as a context.Methods inherited from class com.vaadin.flow.server.communication.rpc.AbstractRpcInvocationHandler
allowInert, getNodeId, handle
-
Constructor Details
-
AttachExistingElementRpcHandler
public AttachExistingElementRpcHandler()
-
-
Method Details
-
getRpcType
Description copied from interface:RpcInvocationHandler
Gets unique RPC type which this handler is applicable for.- Returns:
- the unique rpc type
-
handleNode
Description copied from class:AbstractRpcInvocationHandler
Handle the RPC datainvocationJson
using targetnode
as a context.- Specified by:
handleNode
in classAbstractRpcInvocationHandler
- Parameters:
node
- node to handle invocation with, notnull
invocationJson
- the RPC data to handle, notnull
- Returns:
- an optional runnable
-