- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 26 for URLStreamHandler (0.2 sec)
- 
				
				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)
- 
				
				src/test/java/jcifs/context/AbstractCIFSContextTest.javaimport static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import java.net.URLStreamHandler; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import jcifs.BufferCache; import jcifs.CIFSContext; Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (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; }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 1007 bytes - Viewed (0)
- 
				
				src/test/java/jcifs/context/CIFSContextWrapperTest.java// Test getUrlHandler() method // First call should create a new Handler URLStreamHandler handler1 = cifsContextWrapper.getUrlHandler(); assertNotNull(handler1); assertTrue(handler1 instanceof Handler); // Second call should return the same instance URLStreamHandler handler2 = cifsContextWrapper.getUrlHandler(); assertEquals(handler1, handler2); } Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/smb/Handler.javaimport java.net.URL; import java.net.URLConnection; import java.net.URLStreamHandler; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.CIFSContext; import jcifs.SmbConstants; import jcifs.context.SingletonContext; /** * URL handler for transparent smb:// URL handling * */ public class Handler extends URLStreamHandler {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java@Mock private Configuration config; @Mock private Credentials creds; @Mock private NameServiceClient nsc; // Minimal URLStreamHandler to allow creating smb:// URLs in tests private static final URLStreamHandler SMB_HANDLER = new URLStreamHandler() { @Override protected URLConnection openConnection(URL u) { return null; // not used } }; @BeforeEachRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/context/CIFSContextWrapper.java* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.context; import java.net.MalformedURLException; import java.net.URLStreamHandler; import jcifs.BufferCache; import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.Configuration; import jcifs.Credentials; import jcifs.DfsResolver; import jcifs.NameServiceClient; Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.9K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/context/BaseContext.java* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.context; import java.net.MalformedURLException; import java.net.URLStreamHandler; import jcifs.BufferCache; import jcifs.CIFSException; import jcifs.Configuration; import jcifs.Credentials; import jcifs.DfsResolver; import jcifs.NameServiceClient; import jcifs.SidResolver; Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.5K bytes - Viewed (0)