Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testOpenConnection_HttpsProtocol_ReturnsNtlmHttpURLConnection (2.18 sec)

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

            assertTrue(connection instanceof NtlmHttpURLConnection, "Connection should be an instance of NtlmHttpURLConnection.");
        }
    
        @Test
        void testOpenConnection_HttpsProtocol_ReturnsNtlmHttpURLConnection() throws Exception {
            // This test ensures that for a standard HTTPS URL, openConnection also works and
            // wraps the connection, using mock handlers to avoid dependency on system handlers.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top