Class ClientCallableHandlers
java.lang.Object
com.vaadin.flow.internal.nodefeature.NodeFeature
com.vaadin.flow.internal.nodefeature.NodeList<String>
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 voidensureSupportedParameterTypes(Method method) Validate parameter support for given method.protected StringGets the annotation FQN which is used to mark methods as handlers.protected DisabledUpdateModegetUpdateMode(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, ensureSupportedReturnType, getDisabledUpdateMode, hasHandlerMethods inherited from class com.vaadin.flow.internal.nodefeature.SerializableNodeList
addMethods inherited from class com.vaadin.flow.internal.nodefeature.NodeList
add, addAll, clear, collectChanges, forEachChild, generateChangesFromEmpty, get, getChangeTracker, indexOf, isNodeValues, iterator, onDetach, remove, sizeMethods 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:AbstractServerHandlersGets the annotation FQN which is used to mark methods as handlers.- Specified by:
getHandlerAnnotationFqnin classAbstractServerHandlers<Component>- Returns:
- the handler marker annotation
-
ensureSupportedParameterTypes
Description copied from class:AbstractServerHandlersValidate parameter support for given method. Should validate parameter amount and parameter types.- Specified by:
ensureSupportedParameterTypesin classAbstractServerHandlers<Component>- Parameters:
method- Method to check parameters for
-
getUpdateMode
Description copied from class:AbstractServerHandlersReturns method's RPC communication mode from the client side to the server side when the element is disabled.- Specified by:
getUpdateModein classAbstractServerHandlers<Component>- Parameters:
method- the method to get its update mode- Returns:
- RPC communication mode for the method, not
null
-