Package com.boomi.common.rest.pool
Class RestPoolingService
- java.lang.Object
-
- com.boomi.common.rest.pool.RestPoolingService
-
public class RestPoolingService extends Object
Utility class to handle Rest Connection Pool. Creates, maintains, and shuts down the rest connection pool services.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HttpClientConnectionManager
getConnectionManager(OperationContext context, SSLConnectionSocketFactory factory)
Configures connection pool per the latest user input and stores the updated pool in the connector cache.
-
-
-
Method Detail
-
getConnectionManager
public static HttpClientConnectionManager getConnectionManager(OperationContext context, SSLConnectionSocketFactory factory)
Configures connection pool per the latest user input and stores the updated pool in the connector cache.- Returns:
PoolingHttpClientConnectionManager
instance if the connection pooling is enabled. Otherwise, returnsBasicHttpClientConnectionManager
instance.
-
-