Uses of Class
java.net.URLStreamHandler
Packages that use URLStreamHandler
-
Uses of URLStreamHandler in java.net
Methods in java.net that return URLStreamHandlerModifier and TypeMethodDescriptionURLStreamHandlerFactory.createURLStreamHandler
(String protocol) Creates a newURLStreamHandler
instance with the specified protocol.Methods in java.net with parameters of type URLStreamHandlerModifier and TypeMethodDescriptionstatic URL
URL.of
(URI uri, URLStreamHandler handler) Creates a URL from a URI, as if by invokinguri.toURL()
, but associating it with the givenURLStreamHandler
, if allowed.Constructors in java.net with parameters of type URLStreamHandlerModifierConstructorDescriptionURL
(String protocol, String host, int port, String file, URLStreamHandler handler) Deprecated.URL
(URL context, String spec, URLStreamHandler handler) Deprecated.UseURL.of(URI, URLStreamHandler)
to construct an instance of URL associated with a custom protocol handler.
URL.of(URI, URLStreamHandler)
to construct an instance of URL associated with a custom protocol handler.