Uses of Interface java.net.URLStreamHandlerFactory (Java Platform SE 8 )
Date: 2026-04-17

## Uses of Interface
java.net.URLStreamHandlerFactory

- Packages that use URLStreamHandlerFactory
  Package | Description
  --- | ---
  java.net | Provides the classes for implementing networking applications.
  javax.management.loading | Provides the classes which implement advanced dynamic loading.

- - ### Uses of URLStreamHandlerFactory in java.net

    Methods in java.net with parameters of type URLStreamHandlerFactory
    Modifier and Type | Method and Description
    --- | ---
    `static void` | URL.`setURLStreamHandlerFactory(URLStreamHandlerFactory fac)` Sets an application's `URLStreamHandlerFactory`.

    Constructors in java.net with parameters of type URLStreamHandlerFactory
    Constructor and Description
    `URLClassLoader(URL[] urls, ClassLoader parent, URLStreamHandlerFactory factory)` Constructs a new URLClassLoader for the specified URLs, parent class loader, and URLStreamHandlerFactory.

  - ### Uses of URLStreamHandlerFactory in javax.management.loading

    Constructors in javax.management.loading with parameters of type URLStreamHandlerFactory
    Constructor and Description
    `MLet(URL[] urls, ClassLoader parent, URLStreamHandlerFactory factory)` Constructs a new MLet for the specified URLs, parent class loader, and URLStreamHandlerFactory.
    `MLet(URL[] urls, ClassLoader parent, URLStreamHandlerFactory factory, boolean delegateToCLR)` Constructs a new MLet for the specified URLs, parent class loader, and URLStreamHandlerFactory.
    `PrivateMLet(URL[] urls, ClassLoader parent, URLStreamHandlerFactory factory, boolean delegateToCLR)` Constructs a new PrivateMLet for the specified URLs, parent class loader, and URLStreamHandlerFactory.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.