Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for URLStreamHandler (0.07 sec)

  1. 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;
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/https/HandlerTest.java

    import 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)
  3. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. 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 {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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();
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  8. 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;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 951 bytes
    - Viewed (0)
  9. 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;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1006 bytes
    - Viewed (0)
  10. 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;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1007 bytes
    - Viewed (0)
Back to top