Skip to content
Advertisement

Tag: apache-httpclient-4.x

Apache HttpClient Keep-Alive Strategy for active connections

In an Apache HttpClient with a PoolingHttpClientConnectionManager, does the Keep-Alive strategy change the amount of time that an active connection will stay alive until it will be removed from the connection pool? Or will it only close out idle connections? For example, if I set my Keep-Alive strategy to return 5 seconds for every request, and I use the same

Advertisement