Class ReactorNettyClientHttpEngine
- java.lang.Object
-
- org.jboss.resteasy.client.jaxrs.engines.ReactorNettyClientHttpEngine
-
- All Implemented Interfaces:
org.jboss.resteasy.client.jaxrs.ClientHttpEngine,AsyncClientHttpEngine,ReactiveClientHttpEngine
public class ReactorNettyClientHttpEngine extends Object implements ReactiveClientHttpEngine
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jboss.resteasy.client.jaxrs.engines.AsyncClientHttpEngine
AsyncClientHttpEngine.ResultExtractor<T extends Object>
-
-
Constructor Summary
Constructors Constructor Description ReactorNettyClientHttpEngine(reactor.netty.http.client.HttpClient httpClient, io.netty.channel.group.ChannelGroup channelGroup, reactor.netty.resources.ConnectionProvider connectionProvider)ReactorNettyClientHttpEngine(reactor.netty.http.client.HttpClient httpClient, io.netty.channel.group.ChannelGroup channelGroup, reactor.netty.resources.ConnectionProvider connectionProvider, Boolean useResponseFinalize)ReactorNettyClientHttpEngine(reactor.netty.http.client.HttpClient httpClient, io.netty.channel.group.ChannelGroup channelGroup, reactor.netty.resources.ConnectionProvider connectionProvider, Duration requestTimeout)ReactorNettyClientHttpEngine(reactor.netty.http.client.HttpClient httpClient, io.netty.channel.group.ChannelGroup channelGroup, reactor.netty.resources.ConnectionProvider connectionProvider, Duration requestTimeout, Boolean useResponseFinalize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()reactor.core.publisher.Monoerror(Exception e)<T> reactor.core.publisher.Mono<T>fromCompletionStage(CompletionStage<T> cs)HostnameVerifiergetHostnameVerifier()SSLContextgetSslContext()jakarta.ws.rs.core.Responseinvoke(jakarta.ws.rs.client.Invocation request)<T> reactor.core.publisher.Mono<T>just(T t)<T> Future<T>submit(ClientInvocation request, boolean buffered, jakarta.ws.rs.client.InvocationCallback<T> callback, AsyncClientHttpEngine.ResultExtractor<T> extractor)<K> CompletableFuture<K>submit(ClientInvocation request, boolean buffered, AsyncClientHttpEngine.ResultExtractor<K> extractor, ExecutorService executorService)<T> reactor.core.publisher.Mono<T>submitRx(ClientInvocation request, boolean buffered, AsyncClientHttpEngine.ResultExtractor<T> extractor)-
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
-
-
-
-
Constructor Detail
-
ReactorNettyClientHttpEngine
public ReactorNettyClientHttpEngine(reactor.netty.http.client.HttpClient httpClient, io.netty.channel.group.ChannelGroup channelGroup, reactor.netty.resources.ConnectionProvider connectionProvider)
-
ReactorNettyClientHttpEngine
public ReactorNettyClientHttpEngine(reactor.netty.http.client.HttpClient httpClient, io.netty.channel.group.ChannelGroup channelGroup, reactor.netty.resources.ConnectionProvider connectionProvider, Duration requestTimeout)
-
ReactorNettyClientHttpEngine
public ReactorNettyClientHttpEngine(reactor.netty.http.client.HttpClient httpClient, io.netty.channel.group.ChannelGroup channelGroup, reactor.netty.resources.ConnectionProvider connectionProvider, Boolean useResponseFinalize)
-
-
Method Detail
-
submitRx
public <T> reactor.core.publisher.Mono<T> submitRx(ClientInvocation request, boolean buffered, AsyncClientHttpEngine.ResultExtractor<T> extractor)
- Specified by:
submitRxin interfaceReactiveClientHttpEngine
-
fromCompletionStage
public <T> reactor.core.publisher.Mono<T> fromCompletionStage(CompletionStage<T> cs)
- Specified by:
fromCompletionStagein interfaceReactiveClientHttpEngine
-
just
public <T> reactor.core.publisher.Mono<T> just(T t)
- Specified by:
justin interfaceReactiveClientHttpEngine
-
error
public reactor.core.publisher.Mono error(Exception e)
- Specified by:
errorin interfaceReactiveClientHttpEngine
-
submit
public <T> Future<T> submit(ClientInvocation request, boolean buffered, jakarta.ws.rs.client.InvocationCallback<T> callback, AsyncClientHttpEngine.ResultExtractor<T> extractor)
- Specified by:
submitin interfaceAsyncClientHttpEngine
-
submit
public <K> CompletableFuture<K> submit(ClientInvocation request, boolean buffered, AsyncClientHttpEngine.ResultExtractor<K> extractor, ExecutorService executorService)
- Specified by:
submitin interfaceAsyncClientHttpEngine
-
getSslContext
public SSLContext getSslContext()
- Specified by:
getSslContextin interfaceorg.jboss.resteasy.client.jaxrs.ClientHttpEngine
-
getHostnameVerifier
public HostnameVerifier getHostnameVerifier()
- Specified by:
getHostnameVerifierin interfaceorg.jboss.resteasy.client.jaxrs.ClientHttpEngine
-
invoke
public jakarta.ws.rs.core.Response invoke(jakarta.ws.rs.client.Invocation request)
- Specified by:
invokein interfaceorg.jboss.resteasy.client.jaxrs.ClientHttpEngine
-
close
public void close()
- Specified by:
closein interfaceorg.jboss.resteasy.client.jaxrs.ClientHttpEngine
-
-