@Test public void downloaderConnectionsTimeout() throws IOException { URLConnection connection = ConfigurationDownloader.getDownloadURLConnection( new URL("http: assertEquals(connection.getReadTimeout(), ConfigurationDownloader.READ_TIMEOUT); assertTrue(connection.getReadTimeout() > 0); }
public static URLConnection getDownloadURLConnection(URL url) throws IOException { URLConnection connection = url.openConnection(); connection.setReadTimeout(READ_TIMEOUT); return connection; }
ConfigurationDownloader { public static URLConnection getDownloadURLConnection(URL url) throws IOException { URLConnection connection = url.openConnection(); connection.setReadTimeout(READ_TIMEOUT); return connection; } }
ConfigurationDownloader { public static URLConnection getDownloadURLConnection(URL url) throws IOException { URLConnection connection = url.openConnection(); connection.setReadTimeout(READ_TIMEOUT); return connection; } ConfigurationDownloader(FileNameProvider fileNameProvider, int version,
            String... instanceIdentifiers); }
ConfigurationDownloader { public static URLConnection getDownloadURLConnection(URL url) throws IOException { URLConnection connection = url.openConnection(); connection.setReadTimeout(READ_TIMEOUT); return connection; } ConfigurationDownloader(FileNameProvider fileNameProvider, int version,
            String... instanceIdentifiers); static URL getDownloadURL(ConfigurationLocation location,
            ConfigurationFile file); static URLConnection getDownloadURLConnection(URL url); }
ConfigurationDownloader { public static URLConnection getDownloadURLConnection(URL url) throws IOException { URLConnection connection = url.openConnection(); connection.setReadTimeout(READ_TIMEOUT); return connection; } ConfigurationDownloader(FileNameProvider fileNameProvider, int version,
            String... instanceIdentifiers); static URL getDownloadURL(ConfigurationLocation location,
            ConfigurationFile file); static URLConnection getDownloadURLConnection(URL url); static final int READ_TIMEOUT; }