Package com.commercetools.http.netty
Class CtNettyHttpClient
java.lang.Object
io.vrap.rmf.base.client.HttpClientBase
com.commercetools.http.netty.CtNettyHttpClient
- All Implemented Interfaces:
VrapHttpClient
,Closeable
,AutoCloseable
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCtNettyHttpClient
(int maxConnections) CtNettyHttpClient
(int maxConnections, BuilderOptions options) CtNettyHttpClient
(BuilderOptions options) CtNettyHttpClient
(ExecutorService executor) CtNettyHttpClient
(ExecutorService executor, int maxConnections) CtNettyHttpClient
(ExecutorService executor, int maxConnections, BuilderOptions options) CtNettyHttpClient
(ExecutorService executor, BuilderOptions options) CtNettyHttpClient
(ExecutorService executor, Supplier<reactor.netty.http.client.HttpClient> httpClientSupplier) CtNettyHttpClient
(Supplier<reactor.netty.http.client.HttpClient> httpClientSupplier) -
Method Summary
Modifier and TypeMethodDescriptionstatic reactor.netty.http.client.HttpClient
createDefaultClient
(int maxConnections) CompletableFuture<ApiHttpResponse<byte[]>>
execute
(ApiHttpRequest request) Methods inherited from class io.vrap.rmf.base.client.HttpClientBase
close
-
Field Details
-
MAX_REQUESTS
public static final int MAX_REQUESTS- See Also:
-
-
Constructor Details
-
CtNettyHttpClient
public CtNettyHttpClient() -
CtNettyHttpClient
public CtNettyHttpClient(int maxConnections) -
CtNettyHttpClient
-
CtNettyHttpClient
-
CtNettyHttpClient
-
CtNettyHttpClient
-
CtNettyHttpClient
-
CtNettyHttpClient
-
CtNettyHttpClient
-
CtNettyHttpClient
public CtNettyHttpClient(ExecutorService executor, Supplier<reactor.netty.http.client.HttpClient> httpClientSupplier)
-
-
Method Details
-
createDefaultClient
public static reactor.netty.http.client.HttpClient createDefaultClient(int maxConnections) -
execute
-