Interface EndpointInvoker


  • public interface EndpointInvoker
    Base interface implemented by the synthetic beans that represent rest endpoints.
    See Also:
    CoroutineEndpointInvoker
    • Method Detail

      • invoke

        Object invoke​(Object instance,
                      Object[] parameters)
               throws Exception
        Delegates control over the bean that defines the endpoint
        Parameters:
        instance - the bean instance
        parameters - the method arguments
        Returns:
        the result of the method call
        Throws:
        Exception - the exception thrown in the bean call