Package dev.hilla

Class EndpointRegistry.VaadinEndpointData

  • Enclosing class:
    EndpointRegistry

    public static class EndpointRegistry.VaadinEndpointData
    extends Object
    Tracks methods inside a given endpoint class.
    • Method Detail

      • 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()