Class ClientCallableHandlers
java.lang.Object
com.vaadin.flow.internal.nodefeature.NodeFeature
com.vaadin.flow.internal.nodefeature.NodeList<T>
com.vaadin.flow.internal.nodefeature.SerializableNodeList<String>
com.vaadin.flow.internal.nodefeature.AbstractServerHandlers<Component>
com.vaadin.flow.internal.nodefeature.ClientCallableHandlers
- All Implemented Interfaces:
Serializable
Methods which are published as
element.$server.<name>
on
the client side.
For internal use only. May be renamed or removed in a future release.
- Since:
- 1.0
- Author:
- Vaadin Ltd
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.vaadin.flow.internal.nodefeature.NodeList
NodeList.SetView<T extends Serializable>
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new meta information list for the given state node. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
ensureSupportedParameterTypes
(Method method) Validate parameter support for given method.protected void
ensureSupportedReturnType
(Method method) Validate return type support for given method.protected String
Gets the annotation FQN which is used to mark methods as handlers.protected DisabledUpdateMode
getUpdateMode
(Method method) Returns method's RPC communication mode from the client side to the server side when the element is disabled.Methods inherited from class com.vaadin.flow.internal.nodefeature.AbstractServerHandlers
addHandlerMethod, collectHandlerMethods, collectHandlerMethods, componentSet, getDisabledUpdateMode, hasHandler
Methods inherited from class com.vaadin.flow.internal.nodefeature.SerializableNodeList
add
Methods inherited from class com.vaadin.flow.internal.nodefeature.NodeList
add, addAll, clear, collectChanges, forEachChild, generateChangesFromEmpty, get, getChangeTracker, indexOf, isNodeValues, iterator, onDetach, remove, size
Methods inherited from class com.vaadin.flow.internal.nodefeature.NodeFeature
allowsChanges, attachPotentialChild, detatchPotentialChild, getNode, onAttach
-
Constructor Details
-
ClientCallableHandlers
Creates a new meta information list for the given state node.- Parameters:
node
- the state node this list belongs to
-
-
Method Details
-
getHandlerAnnotationFqn
Description copied from class:AbstractServerHandlers
Gets the annotation FQN which is used to mark methods as handlers.- Specified by:
getHandlerAnnotationFqn
in classAbstractServerHandlers<Component>
- Returns:
- the handler marker annotation
-
ensureSupportedParameterTypes
Description copied from class:AbstractServerHandlers
Validate parameter support for given method. Should validate parameter amount and parameter types.- Specified by:
ensureSupportedParameterTypes
in classAbstractServerHandlers<Component>
- Parameters:
method
- Method to check parameters for
-
ensureSupportedReturnType
Description copied from class:AbstractServerHandlers
Validate return type support for given method.- Overrides:
ensureSupportedReturnType
in classAbstractServerHandlers<Component>
- Parameters:
method
- method to check return type for
-
getUpdateMode
Description copied from class:AbstractServerHandlers
Returns method's RPC communication mode from the client side to the server side when the element is disabled.- Specified by:
getUpdateMode
in classAbstractServerHandlers<Component>
- Parameters:
method
- the method to get its update mode- Returns:
- RPC communication mode for the method, not
null
-