Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for setupMockProtocolHandlers (0.09 sec)

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

        }
    
        /**
         * Pre-populates the protocol handlers cache with mock handlers for testing.
         * This avoids the need for actual protocol handlers to be available.
         */
        private void setupMockProtocolHandlers() throws Exception {
            Field handlersField = Handler.class.getDeclaredField("PROTOCOL_HANDLERS");
            handlersField.setAccessible(true);
            @SuppressWarnings("unchecked")
    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