Class UserPortalConnectionPool
java.lang.Object
de.xima.fc.user_portal.api.client.UserPortalConnectionPool
Connection pool for the user portal API.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SSLContextstatic org.apache.http.impl.client.CloseableHttpClientReturns the connection pool client.static voidshutdown()Shuts down the connection pool.
-
Field Details
-
LOG
protected static final org.slf4j.Logger LOG
-
-
Constructor Details
-
UserPortalConnectionPool
public UserPortalConnectionPool()
-
-
Method Details
-
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
-