Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for setupMockProtocolHandlers (0.13 seconds)

  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")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.1K bytes
    - Click Count (0)
Back to Top