Class Handler


  • public class Handler
    extends URLStreamHandler
    The class Handler is supporting resource protocol for URL streams. This stream protocol handler knows how to make a connection for "resource" protocol.

    In most cases, an instance of a URLStreamHandler subclass is not created directly by an application. Rather, the first time a protocol name is encountered when constructing a URL, the appropriate stream protocol handler is automatically loaded.

    To use this factory, invoke the following code only ONCE time: URL.setURLStreamHandlerFactory(new HandlerProvider());.

    Since:
    6.0
    Version:
    17.0 2020-01-04 14:41:35
    Author:
    Stéphane GALLAND, $Author: willaume$
    See Also:
    URLStreamHandler, HandlerProvider
    Maven Group Id:
    org.arakhne.afc.core
    Maven Artifact Id:
    vmutils