@Target(value=TYPE) @Retention(value=RUNTIME) @Component public @interface Endpoint
FusionController
class. Each class annotated automatically becomes a Spring Component
bean.
After the class is annotated and processed, it becomes available as a Vaadin
endpoint. This means that the class name and all its public methods can be
executed via the post call with the correct parameters sent in a request JSON
body. The methods' return values will be returned back as a response to the
calls. Refer to FusionController
for more details.FusionController
,
Component
public abstract String value
Note: custom names are not allowed to be blank, be equal to any of the
ECMAScript reserved words or have whitespaces in them. See
EndpointNameChecker
for validation implementation details.
Copyright © 2022. All rights reserved.