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

org.jboss.resteasy.client.jaxrs.engines.ReactiveClientHttpEngine Maven / Gradle / Ivy

There is a newer version: 7.0.0.Alpha4
Show newest version
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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy