Class ReactorNettyClientHttpEngine

java.lang.Object
org.jboss.resteasy.client.jaxrs.engines.ReactorNettyClientHttpEngine
All Implemented Interfaces:
ClientHttpEngine, AsyncClientHttpEngine, ReactiveClientHttpEngine

@Deprecated(forRemoval=true, since="6.2.13.Final") public class ReactorNettyClientHttpEngine extends Object implements ReactiveClientHttpEngine
Deprecated, for removal: This API element is subject to removal in a future version.
use the new dependencies and packages to avoid split packages
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.jboss.resteasy.client.jaxrs.engines.AsyncClientHttpEngine

    AsyncClientHttpEngine.ResultExtractor<T>
  • Constructor Summary

    Constructors
    Constructor
    Description
    ReactorNettyClientHttpEngine(reactor.netty.http.client.HttpClient httpClient, io.netty.channel.group.ChannelGroup channelGroup, reactor.netty.resources.ConnectionProvider connectionProvider)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    ReactorNettyClientHttpEngine(reactor.netty.http.client.HttpClient httpClient, io.netty.channel.group.ChannelGroup channelGroup, reactor.netty.resources.ConnectionProvider connectionProvider, Boolean useResponseFinalize)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    ReactorNettyClientHttpEngine(reactor.netty.http.client.HttpClient httpClient, io.netty.channel.group.ChannelGroup channelGroup, reactor.netty.resources.ConnectionProvider connectionProvider, Duration requestTimeout)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    ReactorNettyClientHttpEngine(reactor.netty.http.client.HttpClient httpClient, io.netty.channel.group.ChannelGroup channelGroup, reactor.netty.resources.ConnectionProvider connectionProvider, Duration requestTimeout, Boolean useResponseFinalize)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    reactor.core.publisher.Mono
    Deprecated, for removal: This API element is subject to removal in a future version.
    How the reactive implementation handles errors.
    <T> reactor.core.publisher.Mono<T>
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
    Needed for Client.getHostnameVerifier()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Needed for Client.getSslContext();
    jakarta.ws.rs.core.Response
    invoke(jakarta.ws.rs.client.Invocation request)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    <T> reactor.core.publisher.Mono<T>
    just(T t)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    <T> Future<T>
    submit(ClientInvocation request, boolean buffered, jakarta.ws.rs.client.InvocationCallback<T> callback, AsyncClientHttpEngine.ResultExtractor<T> extractor)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Submits an asynchronous request.
    submit(ClientInvocation request, boolean buffered, AsyncClientHttpEngine.ResultExtractor<K> extractor, ExecutorService executorService)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Submits an asynchronous request.
    <T> reactor.core.publisher.Mono<T>
    submitRx(ClientInvocation request, boolean buffered, AsyncClientHttpEngine.ResultExtractor<T> extractor)
    Deprecated, for removal: This API element is subject to removal in a future version.
    This is the main bridge from RestEasy to a reactive implementation.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.jboss.resteasy.client.jaxrs.engines.AsyncClientHttpEngine

    submit

    Methods inherited from interface org.jboss.resteasy.client.jaxrs.ClientHttpEngine

    isFollowRedirects, setFollowRedirects
  • Constructor Details

    • ReactorNettyClientHttpEngine

      public ReactorNettyClientHttpEngine(reactor.netty.http.client.HttpClient httpClient, io.netty.channel.group.ChannelGroup channelGroup, reactor.netty.resources.ConnectionProvider connectionProvider)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • ReactorNettyClientHttpEngine

      public ReactorNettyClientHttpEngine(reactor.netty.http.client.HttpClient httpClient, io.netty.channel.group.ChannelGroup channelGroup, reactor.netty.resources.ConnectionProvider connectionProvider, Duration requestTimeout)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • ReactorNettyClientHttpEngine

      public ReactorNettyClientHttpEngine(reactor.netty.http.client.HttpClient httpClient, io.netty.channel.group.ChannelGroup channelGroup, reactor.netty.resources.ConnectionProvider connectionProvider, Boolean useResponseFinalize)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • ReactorNettyClientHttpEngine

      public ReactorNettyClientHttpEngine(reactor.netty.http.client.HttpClient httpClient, io.netty.channel.group.ChannelGroup channelGroup, reactor.netty.resources.ConnectionProvider connectionProvider, Duration requestTimeout, Boolean useResponseFinalize)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • submitRx

      public <T> reactor.core.publisher.Mono<T> submitRx(ClientInvocation request, boolean buffered, AsyncClientHttpEngine.ResultExtractor<T> extractor)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: ReactiveClientHttpEngine
      This is the main bridge from RestEasy to a reactive implementation.
      Specified by:
      submitRx in interface ReactiveClientHttpEngine
    • fromCompletionStage

      public <T> reactor.core.publisher.Mono<T> fromCompletionStage(CompletionStage<T> cs)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      fromCompletionStage in interface ReactiveClientHttpEngine
    • just

      public <T> reactor.core.publisher.Mono<T> just(T t)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      just in interface ReactiveClientHttpEngine
    • error

      public reactor.core.publisher.Mono error(Exception e)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: ReactiveClientHttpEngine
      How the reactive implementation handles errors.
      Specified by:
      error in interface ReactiveClientHttpEngine
    • submit

      public <T> Future<T> submit(ClientInvocation request, boolean buffered, jakarta.ws.rs.client.InvocationCallback<T> callback, AsyncClientHttpEngine.ResultExtractor<T> extractor)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: AsyncClientHttpEngine
      Submits an asynchronous request.
      Specified by:
      submit in interface AsyncClientHttpEngine
      Type Parameters:
      T - type
      Parameters:
      request - Request
      buffered - buffer the response?
      callback - Optional callback receiving the result, which is run inside the io-thread. may be null.
      extractor - ResultExtractor for extracting a result out of a ClientResponse. Is run inside the io-thread
      Returns:
      Future with the result or Exception
    • submit

      public <K> CompletableFuture<K> submit(ClientInvocation request, boolean buffered, AsyncClientHttpEngine.ResultExtractor<K> extractor, ExecutorService executorService)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: AsyncClientHttpEngine
      Submits an asynchronous request.
      Specified by:
      submit in interface AsyncClientHttpEngine
      Type Parameters:
      K - type
      Parameters:
      request - Request
      buffered - buffer the response?
      extractor - ResultExtractor for extracting a result out of a ClientResponse. Is run inside the io-thread
      executorService - the executor to use for asynchronous execution
      Returns:
      CompletableFuture with the result or Exception
    • getSslContext

      public SSLContext getSslContext()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: ClientHttpEngine
      Needed for Client.getSslContext();
      Specified by:
      getSslContext in interface ClientHttpEngine
      Returns:
      SSLContext
    • getHostnameVerifier

      public HostnameVerifier getHostnameVerifier()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: ClientHttpEngine
      Needed for Client.getHostnameVerifier()
      Specified by:
      getHostnameVerifier in interface ClientHttpEngine
      Returns:
      HostnameVerifier
    • invoke

      public jakarta.ws.rs.core.Response invoke(jakarta.ws.rs.client.Invocation request)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      invoke in interface ClientHttpEngine
    • close

      public void close()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      close in interface ClientHttpEngine