Provides the classes for implementing networking applications.
-
Creates a new URLStreamHandler
instance with the specified
protocol.
Creates a URL from a URI, as if by invoking uri.toURL()
, but
associating it with the given URLStreamHandler
, if allowed.
URL.of(URI, URLStreamHandler)
to construct an instance of URL associated with a custom protocol handler.