Package com.vaadin.hilla
Class EndpointNameChecker
java.lang.Object
com.vaadin.hilla.EndpointNameChecker
A checker responsible for validating the Vaadin endpoint names.
-
Field Summary
FieldsModifier and TypeFieldDescriptionSet of reserved words in ECMAScript specification. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ECMA_SCRIPT_RESERVED_WORDS
Set of reserved words in ECMAScript specification. Also covers all the reserved identifiers in TypeScript.- See Also:
-
-
Constructor Details
-
EndpointNameChecker
public EndpointNameChecker()
-
-
Method Details
-
check
Validates the Vaadin endpoint name given.- Parameters:
endpointName- the name to validate- Returns:
nullif there are no validation errors orStringcontaining validation error description.
-