# 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

Related Packages
Module
Package
Description
java.base
java.net
Provides the classes for implementing networking applications.
java.net.http
java.net.http
HTTP Client and WebSocket APIs
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.