Class 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 Detail

      • SingleProvider

        public SingleProvider()
    • Method Detail

      • toCompletionStage

        public CompletionStage<?> toCompletionStage​(io.reactivex.rxjava3.core.Single<?> asyncResponse)
        Specified by:
        toCompletionStage in interface org.jboss.resteasy.spi.AsyncResponseProvider<io.reactivex.rxjava3.core.Single<?>>
      • fromCompletionStage

        public io.reactivex.rxjava3.core.Single<?> fromCompletionStage​(CompletionStage<?> completionStage)
        Specified by:
        fromCompletionStage in interface org.jboss.resteasy.spi.AsyncClientResponseProvider<io.reactivex.rxjava3.core.Single<?>>
      • fromCompletionStage

        public io.reactivex.rxjava3.core.Single<?> fromCompletionStage​(Supplier<CompletionStage<?>> completionStageSupplier)
        Specified by:
        fromCompletionStage in interface org.jboss.resteasy.spi.AsyncClientResponseProvider<io.reactivex.rxjava3.core.Single<?>>