@Retention(value=SOURCE) @Target(value=TYPE) public @interface URLStreamHandlerRegistration
URLStreamHandlerFactorywithin the NetBeans platform. (The JVM only permits one global factory to be set at a time, whereas various independent modules may wish to register handlers.) May be placed on a
URLStreamHandlerimplementation to register it. Your handler will be loaded and used if and when a URL of a matching protocol is created.
URLStreamHandlerFactory which uses these registrations may be found in
This factory is active whenever the module system is loaded.
You may also wish to call
from a unit test or otherwise without the module system active.
|Modifier and Type||Required Element and Description|
URL protocol(s) which are handled.
|Modifier and Type||Optional Element and Description|
An optional position in which to register this handler relative to others.
public abstract String protocol
URLStreamHandler.openConnection(java.net.URL)will be called with a matching
Built on May 31 2023. | Copyright © 2017-2023 Apache Software Foundation. All Rights Reserved.