public static interface HttpClient.ConnectionConfig.Builder
HttpClient.ConnectionConfig.| Modifier and Type | Method and Description |
|---|---|
HttpClient.ConnectionConfig |
build()
Builds the
HttpClient.ConnectionConfig. |
HttpClient.ConnectionConfig.Builder |
connectionTimeout(int timeoutMs)
Sets the connection timeout.
|
HttpClient.ConnectionConfig.Builder |
readTimeout(int timeoutMs)
Sets the read timeout.
|
HttpClient.ConnectionConfig.Builder |
sslOptions(SslOptions sslOptions)
Sets the SSL options for HTTPS connections.
|
HttpClient.ConnectionConfig.Builder connectionTimeout(int timeoutMs)
timeoutMs - the timeout in milliseconds (default: 5000).this.HttpClient.ConnectionConfig.Builder readTimeout(int timeoutMs)
timeoutMs - the timeout in milliseconds (default: 5000).this.HttpClient.ConnectionConfig.Builder sslOptions(SslOptions sslOptions)
sslOptions - the SSL options.this.HttpClient.ConnectionConfig build()
HttpClient.ConnectionConfig.HttpClient.ConnectionConfig.Copyright © 2026 lettuce.io. All rights reserved.