- Sort Score
- Result 10 results
- Languages All
Results 21 - 29 of 29 for openConnections (0.31 sec)
-
src/main/java/org/codelibs/curl/CurlRequest.java
task.run(); } } protected HttpURLConnection open(final URL u) throws IOException { final HttpURLConnection connection = (HttpURLConnection) (proxy != null ? u.openConnection(proxy) : u.openConnection()); if (sslSocketFactory != null && connection instanceof HttpsURLConnection) { ((HttpsURLConnection) connection).setSSLSocketFactory(sslSocketFactory); }
Registered: Thu Oct 31 02:32:13 UTC 2024 - Last Modified: Sun Feb 12 12:21:25 UTC 2023 - 12.3K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt
.setTrafficStatsTag(101) .build() req.start() return completableFuture } @Test fun urlConnection() { val conn = engine.openConnection(URL("https://google.com/robots.txt")) as HttpURLConnection val text = conn.inputStream.use { it.bufferedReader().readText() } assertEquals(200, conn.responseCode)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 24 13:19:43 UTC 2024 - 6.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/Handler.java
this.transportContext = tc; } @Override protected int getDefaultPort () { return SmbConstants.DEFAULT_PORT; } @Override public URLConnection openConnection ( URL u ) throws IOException { if ( log.isDebugEnabled() ) { log.debug("Opening file " + u); } return new SmbFile(u, getTransportContext()); } /**
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Jun 06 09:14:24 UTC 2020 - 2.9K bytes - Viewed (0) -
src/test/java/jcifs/tests/ContextConfigTest.java
} @Test public void testURLHandlerRegistration () throws IOException { Config.registerSmbURLHandler(); URL u = new URL("smb://localhost/test"); assertThat(u.openConnection(), CoreMatchers.is(CoreMatchers.instanceOf(SmbFile.class))); } @Test @SuppressWarnings ( "deprecation" ) public void testLegacyURLConstructor () throws IOException {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Mar 13 12:00:57 UTC 2023 - 9.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ProtocolHelper.java
} } } else if ("jar".equals(resource.getProtocol())) { final JarURLConnection jarURLConnection = (JarURLConnection) resource.openConnection(); try (JarFile jarFile = jarURLConnection.getJarFile()) { final Enumeration<JarEntry> entries = jarFile.entries(); while (entries.hasMoreElements()) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Wed Jun 19 01:34:15 UTC 2024 - 7.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/jar/JarFileUtil.java
* @return 指定されたJarファイルを読み取るための<code>JarFile</code> */ public static JarFile toJarFile(final URL jarUrl) { assertArgumentNotNull("jarUrl", jarUrl); final URLConnection con = URLUtil.openConnection(jarUrl); if (con instanceof JarURLConnection) { return JarURLConnectionUtil.getJarFile((JarURLConnection) con); } return create(new File(toJarFilePath(jarUrl))); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 5.4K bytes - Viewed (0) -
docs/changelogs/changelog_1x.md
the way the hostname verifier was selected. * Fix: Locking bug in SpdyConnection. * Fix: Ignore null header values (for compatibility with HttpURLConnection). * Add URLStreamHandlerFactory support so that `URL.openConnection()` uses OkHttp. * Expose the transport ("http/1.1", "spdy/3", etc.) via magic request headers. Use `X-Android-Transports` to write the preferred transports and
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 20.4K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpURLConnection.java
ssf = ( (HttpsURLConnection) this.connection ).getSSLSocketFactory(); } this.connection = (HttpURLConnection) this.connection.getURL().openConnection(); if ( this.connection instanceof HttpsURLConnection ) { if ( hv != null ) { ( (HttpsURLConnection) this.connection ).setHostnameVerifier(hv); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 25.5K bytes - Viewed (0)