All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.resteasy.reactive.server.spi.EndpointInvoker Maven / Gradle / Ivy

There is a newer version: 3.17.5
Show newest version
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