- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for URLStreamHandler (0.13 sec)
- 
				
				src/main/java/jcifs/smb1/http/Handler.javareturn 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; } Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/smb1/https/HandlerTest.javaimport static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.net.URLStreamHandler; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; /** Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/http/Handler.javaimport 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 Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.9K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/http/HandlerTest.javahandlersField.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 { Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0)
- 
				
				fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java*/ package org.codelibs.fess.net.protocol.storage; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.net.URLConnection; import java.net.URLStreamHandler; import java.security.InvalidKeyException; import java.security.NoSuchAlgorithmException; import org.codelibs.core.lang.StringUtil; import io.minio.GetObjectArgs; import io.minio.MinioClient; 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/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() { }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/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(); // ThenRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/https/HandlerTest.javaimport static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.net.URLStreamHandler; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; /** * Test suite for jcifs.https.Handler class. Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.6K bytes - Viewed (0)
- 
				
				src/test/java/org/codelibs/core/zip/ZipFileUtilTest.javaimport 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() { @OverrideRegistered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.6K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/CIFSContext.java* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs; import java.net.URLStreamHandler; /** * Encapsulation of client context * * * A context holds the client configuration, shared services as well as the active credentials. * Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.9K bytes - Viewed (0)