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.
-
-
Constructor Details
-
EndpointNameChecker
public EndpointNameChecker()
-
-
Method Details
-
check
Validates the Vaadin endpoint name given.- Parameters:
endpointName
- the name to validate- Returns:
null
if there are no validation errors orString
containing validation error description.
-