SSLUtils { public static boolean isSSL(String urlString) { Preconditions.checkArgument(StringUtils.isNotEmpty(urlString)); return urlString.startsWith("https: }  static boolean isSSL(String urlString); static SSLContext getSSLContext(ClientConfig config); static HostnameVerifier getHostnameVerifier(ClientConfig config);  }
@Test public void testIsSSL() { assertTrue(SSLUtils.isSSL("https: assertFalse(SSLUtils.isSSL("http: }