Class AttachExistingElementRpcHandler
- java.lang.Object
-
- com.vaadin.flow.server.communication.rpc.AbstractRpcInvocationHandler
-
- com.vaadin.flow.server.communication.rpc.AttachExistingElementRpcHandler
-
- All Implemented Interfaces:
RpcInvocationHandler,Serializable
public class AttachExistingElementRpcHandler extends AbstractRpcInvocationHandler
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.
- Since:
- 1.0
- Author:
- Vaadin Ltd
- See Also:
JsonConstants.RPC_ATTACH_EXISTING_ELEMENT,JsonConstants.RPC_ATTACH_ASSIGNED_ID,JsonConstants.RPC_ATTACH_REQUESTED_ID,JsonConstants.RPC_ATTACH_INDEX,JsonConstants.RPC_ATTACH_TAG_NAME, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AttachExistingElementRpcHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetRpcType()Gets unique RPC type which this handler is applicable for.protected Optional<Runnable>handleNode(StateNode node, elemental.json.JsonObject invocationJson)Handle the RPC datainvocationJsonusing targetnodeas a context.-
Methods inherited from class com.vaadin.flow.server.communication.rpc.AbstractRpcInvocationHandler
allowInert, getNodeId, handle
-
-
-
-
Method Detail
-
getRpcType
public String getRpcType()
Description copied from interface:RpcInvocationHandlerGets unique RPC type which this handler is applicable for.- Returns:
- the unique rpc type
-
handleNode
protected Optional<Runnable> handleNode(StateNode node, elemental.json.JsonObject invocationJson)
Description copied from class:AbstractRpcInvocationHandlerHandle the RPC datainvocationJsonusing targetnodeas a context.- Specified by:
handleNodein classAbstractRpcInvocationHandler- Parameters:
node- node to handle invocation with, notnullinvocationJson- the RPC data to handle, notnull- Returns:
- an optional runnable
-
-