Package com.symphony.bdk.http.api.util
Class ApiUtils
java.lang.Object
com.symphony.bdk.http.api.util.ApiUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addDefaultRootCaCertificates
(KeyStore trustStore) Used to load the system truststore to be used in the ssl contextstatic String
Creates a user agent string used for the User-Agent headerstatic boolean
isCollectionOfFiles
(Object paramValue) static void
logTrustStore
(KeyStore trustStore)
-
Method Details
-
getUserAgent
Creates a user agent string used for the User-Agent header- Returns:
- a user agent string containing the current BDK version
-
logTrustStore
- Throws:
KeyStoreException
-
addDefaultRootCaCertificates
public static void addDefaultRootCaCertificates(KeyStore trustStore) throws GeneralSecurityException Used to load the system truststore to be used in the ssl context- Throws:
GeneralSecurityException
-
isCollectionOfFiles
-