Modifier and Type | Method and Description |
---|---|
default HttpClient |
Vertx.createHttpClient(HttpClientOptions clientOptions,
PoolOptions poolOptions)
Create a HTTP/HTTPS client using the specified client and pool options
|
default HttpClient |
Vertx.createHttpClient(PoolOptions poolOptions)
Create a HTTP/HTTPS client using the specified pool options
|
Modifier and Type | Method and Description |
---|---|
PoolOptions |
HttpClientOptions.getPoolOptions() |
PoolOptions |
PoolOptions.setCleanerPeriod(int cleanerPeriod)
Set the connection pool cleaner period in milli seconds, a non positive value disables expiration checks and connections
will remain in the pool until they are closed.
|
PoolOptions |
PoolOptions.setEventLoopSize(int eventLoopSize)
Set the number of event-loop the pool use.
|
PoolOptions |
PoolOptions.setHttp1MaxSize(int http1MaxSize)
Set the maximum pool size for HTTP/1.x connections
|
PoolOptions |
PoolOptions.setHttp2MaxSize(int max)
Set the maximum pool size for HTTP/2 connections
|
PoolOptions |
PoolOptions.setMaxWaitQueueSize(int maxWaitQueueSize)
Set the maximum requests allowed in the wait queue, any requests beyond the max size will result in
a ConnectionPoolTooBusyException.
|
Modifier and Type | Method and Description |
---|---|
HttpClientBuilder |
HttpClientBuilder.with(PoolOptions options)
Configure the client with the given pool
options . |
Constructor and Description |
---|
PoolOptions(PoolOptions other)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
HttpClient |
Vertx.createHttpClient(HttpClientOptions clientOptions,
PoolOptions poolOptions)
Create a HTTP/HTTPS client using the specified client and pool options
|
HttpClient |
Vertx.createHttpClient(PoolOptions poolOptions)
Create a HTTP/HTTPS client using the specified pool options
|
Modifier and Type | Method and Description |
---|---|
HttpClientBuilder |
HttpClientBuilder.with(PoolOptions options)
Configure the client with the given pool
options . |
Modifier and Type | Method and Description |
---|---|
HttpClient |
Vertx.createHttpClient(HttpClientOptions clientOptions,
PoolOptions poolOptions)
Create a HTTP/HTTPS client using the specified client and pool options
|
HttpClient |
Vertx.createHttpClient(PoolOptions poolOptions)
Create a HTTP/HTTPS client using the specified pool options
|
Modifier and Type | Method and Description |
---|---|
HttpClientBuilder |
HttpClientBuilder.with(PoolOptions options)
Configure the client with the given pool
options . |
Modifier and Type | Method and Description |
---|---|
HttpClient |
Vertx.createHttpClient(HttpClientOptions clientOptions,
PoolOptions poolOptions)
Create a HTTP/HTTPS client using the specified client and pool options
|
HttpClient |
Vertx.createHttpClient(PoolOptions poolOptions)
Create a HTTP/HTTPS client using the specified pool options
|
Modifier and Type | Method and Description |
---|---|
HttpClientBuilder |
HttpClientBuilder.with(PoolOptions options)
Configure the client with the given pool
options . |
Copyright © 2024 Eclipse. All rights reserved.