Java io.vertx.core.http HttpClientOptions fields, constructors, methods, implement or subclass

Example usage for Java io.vertx.core.http HttpClientOptions fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for io.vertx.core.http HttpClientOptions.

The text is from its open source code.

Subclass

io.vertx.core.http.HttpClientOptions has subclasses.
Click this link to see all its subclasses.

Field

intDEFAULT_MAX_POOL_SIZE
The default maximum number of HTTP/1 connections a client will pool = 5
intDEFAULT_HTTP2_MAX_POOL_SIZE
The default maximum number of connections an HTTP/2 client will pool = 1
intDEFAULT_HTTP2_MULTIPLEXING_LIMIT
The default maximum number of concurrent streams per connection for HTTP/2 = -1
booleanDEFAULT_KEEP_ALIVE
Default value of whether keep-alive is enabled = true
booleanDEFAULT_TRY_USE_COMPRESSION
Default value of whether the client will attempt to use compression = false

Constructor

HttpClientOptions()
Default constructor
HttpClientOptions(HttpClientOptions other)
Copy constructor
HttpClientOptions(JsonObject json)
Constructor to create an options from JSON

Method

HttpClientOptionsaddEnabledCipherSuite(String suite)
intgetMaxChunkSize()
Returns the maximum HTTP chunk size
intgetMaxPoolSize()
Get the maximum pool size for connections
intgetMaxWaitQueueSize()
Returns the maximum wait queue size
intgetPipeliningLimit()
booleanisKeepAlive()
Is keep alive enabled on the client?
booleanisPipelining()
Is pipe-lining enabled on the client
booleanisTryUseCompression()
Is compression enabled on the client?
booleanisVerifyHost()
Is hostname verification (for SSL/TLS) enabled?
HttpClientOptionssetConnectTimeout(int connectTimeout)
HttpClientOptionssetDefaultHost(String defaultHost)
Set the default host name to be used by this client in requests if none is provided when making the request.
HttpClientOptionssetDefaultPort(int defaultPort)
Set the default port to be used by this client in requests if none is provided when making the request.
HttpClientOptionssetHttp2ClearTextUpgrade(boolean value)
Set to true when an h2c connection is established using an HTTP/1.1 upgrade request, and false when an h2c connection is established directly (with prior knowledge).
HttpClientOptionssetIdleTimeout(int idleTimeout)
HttpClientOptionssetKeepAlive(boolean keepAlive)
Set whether keep alive is enabled on the client
HttpClientOptionssetKeyStoreOptions(JksOptions options)
HttpClientOptionssetMaxPoolSize(int maxPoolSize)
Set the maximum pool size for connections
HttpClientOptionssetPemKeyCertOptions(PemKeyCertOptions options)
HttpClientOptionssetPemTrustOptions(PemTrustOptions options)
HttpClientOptionssetPfxKeyCertOptions(PfxOptions options)
HttpClientOptionssetPfxTrustOptions(PfxOptions options)
HttpClientOptionssetProtocolVersion(HttpVersion protocolVersion)
Set the protocol version.
HttpClientOptionssetProxyOptions(ProxyOptions proxyOptions)
HttpClientOptionssetSsl(boolean ssl)
HttpClientOptionssetTrustAll(boolean trustAll)
HttpClientOptionssetTrustStoreOptions(JksOptions options)
HttpClientOptionssetTryUseCompression(boolean tryUseCompression)
Set whether compression is enabled
HttpClientOptionssetUseAlpn(boolean useAlpn)
HttpClientOptionssetVerifyHost(boolean verifyHost)
Set whether hostname verification is enabled