Class ApiUtils

java.lang.Object
com.symphony.bdk.http.api.util.ApiUtils

@API(status=INTERNAL) public final class ApiUtils extends Object
  • Method Details

    • getUserAgent

      public static String getUserAgent()
      Creates a user agent string used for the User-Agent header
      Returns:
      a user agent string containing the current BDK version
    • logTrustStore

      public static void logTrustStore(KeyStore trustStore) throws KeyStoreException
      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

      public static boolean isCollectionOfFiles(Object paramValue)