Example usage for Java io.vertx.core.http HttpClientOptions fields, constructors, methods, implement or subclass
The text is from its open source code.
int | DEFAULT_MAX_POOL_SIZE The default maximum number of HTTP/1 connections a client will pool = 5 |
int | DEFAULT_HTTP2_MAX_POOL_SIZE The default maximum number of connections an HTTP/2 client will pool = 1 |
int | DEFAULT_HTTP2_MULTIPLEXING_LIMIT The default maximum number of concurrent streams per connection for HTTP/2 = -1 |
boolean | DEFAULT_KEEP_ALIVE Default value of whether keep-alive is enabled = true |
boolean | DEFAULT_TRY_USE_COMPRESSION Default value of whether the client will attempt to use compression = false |
HttpClientOptions() Default constructor | |
HttpClientOptions(HttpClientOptions other) Copy constructor | |
HttpClientOptions(JsonObject json) Constructor to create an options from JSON |
HttpClientOptions | addEnabledCipherSuite(String suite) |
int | getMaxChunkSize() Returns the maximum HTTP chunk size |
int | getMaxPoolSize() Get the maximum pool size for connections |
int | getMaxWaitQueueSize() Returns the maximum wait queue size |
int | getPipeliningLimit() |
boolean | isKeepAlive() Is keep alive enabled on the client? |
boolean | isPipelining() Is pipe-lining enabled on the client |
boolean | isTryUseCompression() Is compression enabled on the client? |
boolean | isVerifyHost() Is hostname verification (for SSL/TLS) enabled? |
HttpClientOptions | setConnectTimeout(int connectTimeout) |
HttpClientOptions | setDefaultHost(String defaultHost) Set the default host name to be used by this client in requests if none is provided when making the request. |
HttpClientOptions | setDefaultPort(int defaultPort) Set the default port to be used by this client in requests if none is provided when making the request. |
HttpClientOptions | setHttp2ClearTextUpgrade(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). |
HttpClientOptions | setIdleTimeout(int idleTimeout) |
HttpClientOptions | setKeepAlive(boolean keepAlive) Set whether keep alive is enabled on the client |
HttpClientOptions | setKeyStoreOptions(JksOptions options) |
HttpClientOptions | setMaxPoolSize(int maxPoolSize) Set the maximum pool size for connections |
HttpClientOptions | setPemKeyCertOptions(PemKeyCertOptions options) |
HttpClientOptions | setPemTrustOptions(PemTrustOptions options) |
HttpClientOptions | setPfxKeyCertOptions(PfxOptions options) |
HttpClientOptions | setPfxTrustOptions(PfxOptions options) |
HttpClientOptions | setProtocolVersion(HttpVersion protocolVersion) Set the protocol version. |
HttpClientOptions | setProxyOptions(ProxyOptions proxyOptions) |
HttpClientOptions | setSsl(boolean ssl) |
HttpClientOptions | setTrustAll(boolean trustAll) |
HttpClientOptions | setTrustStoreOptions(JksOptions options) |
HttpClientOptions | setTryUseCompression(boolean tryUseCompression) Set whether compression is enabled |
HttpClientOptions | setUseAlpn(boolean useAlpn) |
HttpClientOptions | setVerifyHost(boolean verifyHost) Set whether hostname verification is enabled |