- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for createURLStreamHandler (0.12 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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);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)