Class InetAddressResolutionNotes

java.lang.Object
net.jrodolfo.java_evolution.java18.InetAddressResolutionNotes

public class InetAddressResolutionNotes extends Object
Explains the Internet-address resolution SPI introduced in Java 18.

Most applications can rely on the operating system for host-name resolution, but advanced environments sometimes need custom behavior for service discovery, controlled DNS, or testing infrastructure. Java 18 introduced a service-provider interface so this kind of resolver can be provided through a supported JDK extension point.

Because a resolver provider affects process-wide networking behavior, this repository keeps the topic as notes instead of installing a live provider during tests.

  • Constructor Details

    • InetAddressResolutionNotes

      public InetAddressResolutionNotes()
  • Method Details

    • extensionPoint

      public String extensionPoint()
      Names the extension point.
      Returns:
      a short API description
    • useCase

      public String useCase()
      Explains the intended audience.
      Returns:
      a short explanation
    • projectDecision

      public String projectDecision()
      Explains why this feature is not demonstrated with a live provider.
      Returns:
      the project decision