Package dev.orne.test.rnd.generators
Class URLGenerator.NopStreamHandler
java.lang.Object
java.net.URLStreamHandler
dev.orne.test.rnd.generators.URLGenerator.NopStreamHandler
- Enclosing class:
- URLGenerator
Implementation of
URLStreamHandler
that prevents opening
generated random URLs.- Since:
- URLGenerator 1.0
- Version:
- 1.0, 2022-11
- Author:
- (w) Iker Hernaez
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.net.URLStreamHandler
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm
-
Constructor Details
-
NopStreamHandler
protected NopStreamHandler()Creates a new instance.
-
-
Method Details
-
openConnection
- Specified by:
openConnection
in classURLStreamHandler
- Throws:
IOException
-