W3cubDocs

/OpenJDK 21

Package java.net.spi

package java.net.spi
Service-provider classes for the java.net package.

Only developers who are defining new URL stream handler providers or implementing a custom resolver provider should need to make direct use of this package.

Since:
9
Class Description
InetAddressResolver
This interface defines operations for looking up host names and IP addresses.
InetAddressResolver.LookupPolicy
A LookupPolicy object describes characteristics that can be applied to a lookup operation.
InetAddressResolverProvider
Service-provider class for InetAddress resolvers.
InetAddressResolverProvider.Configuration
A Configuration object is supplied to the InetAddressResolverProvider.get(Configuration) method when setting the system-wide resolver.
URLStreamHandlerProvider
URL stream handler service-provider class.

© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/net/spi/package-summary.html