com.vaadin.hilla.

Class EndpointRegistry.VaadinEndpointData

java.lang.Object
com.vaadin.hilla.EndpointRegistry.VaadinEndpointData

Enclosing class:

EndpointRegistry

public static class EndpointRegistry.VaadinEndpointData extends Object

Tracks methods inside a given endpoint class.

  • Method Details

    • getMethods

      public Map<String,Method> getMethods()

      Gets all the endpoint methods.

      Returns:

      the endpoint methods

    • getMethod

      public Optional<Method> getMethod(String methodName)

      Finds a method with the given name.

      Parameters:

      methodName - the name to look for

      Returns:

      An optional containing a method reference or an empty optional if no method was found

    • getEndpointObject

      public Object getEndpointObject()