- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 33 for openConnections (0.07 sec)
-
src/test/java/org/codelibs/fess/test/net/protocol/xxx3/Handler.java
import java.net.URLConnection; import java.net.URLStreamHandler; public class Handler extends URLStreamHandler { public static final String PROTOCOL_TYPE = "test"; @Override protected URLConnection openConnection(URL u) throws IOException { return null; }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 1007 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 Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Handler.java
*/ public Handler() { } @Override protected int getDefaultPort() { return SmbConstants.DEFAULT_PORT; } @Override public URLConnection openConnection(final URL u) throws IOException { return new SmbFile(u); } @Override protected void parseURL(final URL u, String spec, final int start, int limit) { final String host = u.getHost();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
} else if (stream != null) { when(conn.getInputStream()).thenReturn(stream); } } /** * Test helper class for mocking URL.openConnection() behavior */ static class TestURLStreamHandler extends java.net.URLStreamHandler { private final List<HttpURLConnection> connections = new ArrayList<>(); private int currentIndex = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K 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(final URL u) throws IOException { if (log.isDebugEnabled()) { log.debug("Opening file " + u); } return new SmbFile(u, getTransportContext()); } /** * @returnRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java
* * @param u The URL to open a connection to * @return A new StorageURLConnection instance * @throws IOException If the connection cannot be opened */ @Override protected URLConnection openConnection(final URL u) throws IOException { return new StorageURLConnection(u); } /** * StorageURLConnection is a URL connection implementation for accessing storage objects.Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 10.5K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
*/ 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 Sep 04 15:34:10 UTC 2025 - Last Modified: Sat Jul 05 01:38:18 UTC 2025 - 17.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/jar/JarFileUtil.java
*/ 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 Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.9K 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 Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 6.4K 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 Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.7K bytes - Viewed (1)