- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for setupMockProtocolHandlers (0.09 sec)
-
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)