Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for createURLStreamHandler (0.76 sec)

  1. src/test/java/jcifs/http/HandlerTest.java

                }
            };
    
            URL url = new URL("http://custom.protocol/path");
    
            // Configure the mock factory to return our handler for the 'http' protocol.
            when(mockFactory.createURLStreamHandler("http")).thenReturn(mockStreamHandler);
    
            Handler.setURLStreamHandlerFactory(mockFactory);
    
            URLConnection connection = handler.openConnection(url);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/http/Handler.java

                if (handler != null) {
                    return handler;
                }
                if (factory != null) {
                    handler = factory.createURLStreamHandler(protocol);
                }
                if (handler == null) {
                    final String path = System.getProperty(HANDLER_PKGS_PROPERTY);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/Handler.java

                if (handler != null) {
                    return handler;
                }
                if (factory != null) {
                    handler = factory.createURLStreamHandler(protocol);
                }
                if (handler == null) {
                    final String path = System.getProperty(HANDLER_PKGS_PROPERTY);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.9K bytes
    - Viewed (0)
Back to top