com.vaadin.flow.server.connect.

Class EndpointRegistry.VaadinEndpointData

  • java.lang.Object
    • com.vaadin.flow.server.connect.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()