org.jboss.resteasy.reactive.server.spi.EndpointInvoker Maven / Gradle / Ivy
package org.jboss.resteasy.reactive.server.spi;
/**
* Base interface implemented by the synthetic beans that represent rest endpoints.
*
* See org.jboss.resteasy.reactive.server.runtime.kotlin.CoroutineEndpointInvoker
*/
public interface EndpointInvoker {
/**
* Delegates control over the bean that defines the endpoint
*
* @param instance the bean instance
* @param parameters the method arguments
* @return the result of the method call
* @throws Exception the exception thrown in the bean call
*/
Object invoke(Object instance, Object[] parameters) throws Exception;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy