- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 24 for URLStreamHandler (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/smb1/http/Handler.java
return new NtlmHttpURLConnection((HttpURLConnection) url.openConnection()); } private static URLStreamHandler getDefaultStreamHandler(final String protocol) throws IOException { synchronized (PROTOCOL_HANDLERS) { URLStreamHandler handler = (URLStreamHandler) PROTOCOL_HANDLERS.get(protocol); if (handler != null) { return handler; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.1K bytes - Click Count (0) -
src/test/java/jcifs/http/HandlerTest.java
handlersField.setAccessible(true); @SuppressWarnings("unchecked") Map<String, URLStreamHandler> handlers = (Map<String, URLStreamHandler>) handlersField.get(null); // Create mock HTTP handler URLStreamHandler httpHandler = new URLStreamHandler() { @Override protected URLConnection openConnection(URL u) throws IOException {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.1K bytes - Click Count (0) -
src/main/java/jcifs/http/Handler.java
import java.net.URL; import java.net.URLConnection; import java.net.URLStreamHandler; import java.net.URLStreamHandlerFactory; import java.util.HashMap; import java.util.Map; import java.util.StringTokenizer; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.CIFSContext; /** * A <code>URLStreamHandler</code> used to provide NTLM authentication
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/Handler.java
*/ package jcifs.smb1.smb1; import java.io.IOException; import java.net.URL; import java.net.URLConnection; import java.net.URLStreamHandler; /** * URL handler for SMB1 protocol URLs. */ public class Handler extends URLStreamHandler { static final URLStreamHandler SMB_HANDLER = new Handler(); /** * Default constructor for SMB1 URL handler. */ public Handler() { }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.2K bytes - Click Count (0) -
src/test/java/jcifs/CIFSContextTest.java
} @Test @DisplayName("Should get URLStreamHandler") void testGetUrlHandler() { // Given URLStreamHandler mockHandler = mock(URLStreamHandler.class); when(mockContext.getUrlHandler()).thenReturn(mockHandler); // When URLStreamHandler handler = mockContext.getUrlHandler(); // ThenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/test/net/protocol/xxx1/Handler.java
*/ package org.codelibs.fess.test.net.protocol.xxx1; import java.io.IOException; import java.net.URL; import java.net.URLConnection; import java.net.URLStreamHandler; public class Handler extends URLStreamHandler { public static final String PROTOCOL_TYPE = "web"; @Override protected URLConnection openConnection(URL u) throws IOException { return null; }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 1006 bytes - Click Count (0) -
src/test/java/org/codelibs/fess/test/net/protocol/xxx4/Handler.java
*/ package org.codelibs.fess.test.net.protocol.xxx4; import java.io.IOException; import java.net.URL; import java.net.URLConnection; import java.net.URLStreamHandler; public class Handler extends URLStreamHandler { @Override protected URLConnection openConnection(URL u) throws IOException { return null; }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 951 bytes - Click Count (0) -
src/test/java/org/codelibs/fess/test/net/protocol/xxx2/Handler.java
*/ package org.codelibs.fess.test.net.protocol.xxx2; import java.io.IOException; import java.net.URL; import java.net.URLConnection; import java.net.URLStreamHandler; public class Handler extends URLStreamHandler { public static final String PROTOCOL_TYPE = "file"; @Override protected URLConnection openConnection(URL u) throws IOException { return null; }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 1007 bytes - Click Count (0) -
src/test/java/org/codelibs/fess/test/net/protocol/xxx3/Handler.java
*/ package org.codelibs.fess.test.net.protocol.xxx3; import java.io.IOException; import java.net.URL; 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; }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 1007 bytes - Click Count (0) -
src/test/java/org/codelibs/core/zip/ZipFileUtilTest.java
import java.net.URLConnection; import java.net.URLStreamHandler; import junit.framework.TestCase; /** * @author koichik */ public class ZipFileUtilTest extends TestCase { /** * @throws Exception */ public void testToJarFilePath() throws Exception { final URL url = new URL(null, "zip:/Program Files/foo.zip!/", new URLStreamHandler() { @OverrideCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.6K bytes - Click Count (0)