Package dev.resteasy.rxjava3
Class SingleProvider
- java.lang.Object
-
- dev.resteasy.rxjava3.SingleProvider
-
- All Implemented Interfaces:
org.jboss.resteasy.spi.AsyncClientResponseProvider<io.reactivex.rxjava3.core.Single<?>>,org.jboss.resteasy.spi.AsyncResponseProvider<io.reactivex.rxjava3.core.Single<?>>
@Provider public class SingleProvider extends Object implements org.jboss.resteasy.spi.AsyncResponseProvider<io.reactivex.rxjava3.core.Single<?>>, org.jboss.resteasy.spi.AsyncClientResponseProvider<io.reactivex.rxjava3.core.Single<?>>
-
-
Constructor Summary
Constructors Constructor Description SingleProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.reactivex.rxjava3.core.Single<?>fromCompletionStage(CompletionStage<?> completionStage)io.reactivex.rxjava3.core.Single<?>fromCompletionStage(Supplier<CompletionStage<?>> completionStageSupplier)CompletionStage<?>toCompletionStage(io.reactivex.rxjava3.core.Single<?> asyncResponse)
-
-
-
Method Detail
-
toCompletionStage
public CompletionStage<?> toCompletionStage(io.reactivex.rxjava3.core.Single<?> asyncResponse)
- Specified by:
toCompletionStagein interfaceorg.jboss.resteasy.spi.AsyncResponseProvider<io.reactivex.rxjava3.core.Single<?>>
-
fromCompletionStage
public io.reactivex.rxjava3.core.Single<?> fromCompletionStage(CompletionStage<?> completionStage)
- Specified by:
fromCompletionStagein interfaceorg.jboss.resteasy.spi.AsyncClientResponseProvider<io.reactivex.rxjava3.core.Single<?>>
-
fromCompletionStage
public io.reactivex.rxjava3.core.Single<?> fromCompletionStage(Supplier<CompletionStage<?>> completionStageSupplier)
- Specified by:
fromCompletionStagein interfaceorg.jboss.resteasy.spi.AsyncClientResponseProvider<io.reactivex.rxjava3.core.Single<?>>
-
-