public class RestPoolingService extends Object
Modifier and Type | Method and Description |
---|---|
static org.apache.http.conn.HttpClientConnectionManager |
getConnectionManager(OperationContext context,
org.apache.http.conn.ssl.SSLConnectionSocketFactory factory)
Configures connection pool per the latest user input and stores the updated pool in the connector cache.
|
public static org.apache.http.conn.HttpClientConnectionManager getConnectionManager(OperationContext context, org.apache.http.conn.ssl.SSLConnectionSocketFactory factory)
PoolingHttpClientConnectionManager
instance if the connection pooling is enabled. Otherwise,
returns BasicHttpClientConnectionManager
instance.