com.vaadin.flow.server.communication.rpc.

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:

  • Constructor Details

    • AttachExistingElementRpcHandler

      public AttachExistingElementRpcHandler()
  • Method Details

    • getRpcType

      public String getRpcType()

      Description copied from interface: RpcInvocationHandler

      Gets 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: AbstractRpcInvocationHandler

      Handle the RPC data invocationJson using target node as a context.

      Specified by:

      handleNode in class AbstractRpcInvocationHandler

      Parameters:

      node - node to handle invocation with, not null

      invocationJson - the RPC data to handle, not null

      Returns:

      an optional runnable