Apache HttpComponents · Schema
ConnectionConfig
Connection configuration for Apache HttpComponents client
ApacheHTTP ClientJavaOpen SourceSDK
Properties
| Name | Type | Description |
|---|---|---|
| connectTimeout | integer | Connection timeout in milliseconds |
| socketTimeout | integer | Socket read timeout in milliseconds |
| maxConnections | integer | Maximum total connections in pool |
| maxConnectionsPerRoute | integer | Maximum connections per route |
| keepAliveTimeout | integer | Keep-alive timeout in milliseconds |
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://api-evangelist.github.io/apache-http/json-schema/http-client-connectionconfig-schema.json",
"title": "ConnectionConfig",
"type": "object",
"description": "Connection configuration for Apache HttpComponents client",
"properties": {
"connectTimeout": {
"type": "integer",
"description": "Connection timeout in milliseconds",
"example": 5000
},
"socketTimeout": {
"type": "integer",
"description": "Socket read timeout in milliseconds",
"example": 30000
},
"maxConnections": {
"type": "integer",
"description": "Maximum total connections in pool",
"example": 200
},
"maxConnectionsPerRoute": {
"type": "integer",
"description": "Maximum connections per route",
"example": 20
},
"keepAliveTimeout": {
"type": "integer",
"description": "Keep-alive timeout in milliseconds",
"example": 60000
}
}
}