org.jboss.resteasy.client.jaxrs.engines.ReactiveClientHttpEngine Maven / Gradle / Ivy
package org.jboss.resteasy.client.jaxrs.engines;
import java.util.concurrent.CompletionStage;
import org.jboss.resteasy.client.jaxrs.internal.ClientInvocation;
import org.reactivestreams.Publisher;
public interface ReactiveClientHttpEngine extends AsyncClientHttpEngine {
/**
* This is the main bridge from RestEasy to a reactive implementation.
*/
Publisher submitRx(ClientInvocation request,
boolean buffered,
ResultExtractor extractor);
Publisher fromCompletionStage(CompletionStage cs);
Publisher just(T t);
/**
* How the reactive implementation handles errors.
*/
Publisher error(Exception e);
}