This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static List<String> connectAndReadFromURL(URL url, String fileName) | |
{ | |
List<String> data = null; | |
HttpClient httpClient = null; | |
TrustStrategy easyStrategy = new TrustStrategy() | |
{ | |
public boolean isTrusted(X509Certificate[] certificate, String authType) | |
throws CertificateException | |
{ | |
return true; |