Class UserPortalConnectionPool
- java.lang.Object
-
- de.xima.fc.user_portal.api.client.UserPortalConnectionPool
-
public class UserPortalConnectionPool extends Object
Connection pool for the user portal API.
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.slf4j.LoggerLOG
-
Constructor Summary
Constructors Constructor Description UserPortalConnectionPool()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SSLContextcreateTrustAllSSLContext()static org.apache.http.impl.client.CloseableHttpClientgetClient()Returns the connection pool client.static voidshutdown()Shuts down the connection pool.
-
-
-
Method Detail
-
getClient
public static org.apache.http.impl.client.CloseableHttpClient getClient()
Returns the connection pool client.- Returns:
- The connection pool client.
-
shutdown
public static void shutdown()
Shuts down the connection pool.
-
createTrustAllSSLContext
public static SSLContext createTrustAllSSLContext() throws NoSuchAlgorithmException, KeyManagementException
-
-