APIdia Launch Partner
Top Fields Constructors Methods
sun.net

public final Class ResolverProviderConfiguration

extends Object
implements Configuration
Class Inheritance
All Implemented Interfaces
java.net.spi.InetAddressResolverProvider.Configuration
Imports
java.net.spi.InetAddressResolver, .InetAddressResolverProvider, java.util.function.Supplier

Field Summary

Modifier and TypeField and Description
private final InetAddressResolver
private final Supplier<String>

Constructor Summary

AccessConstructor and Description
public
ResolverProviderConfiguration(InetAddressResolver builtinResolver, Supplier<String> localHostNameSupplier)

Method Summary

Modifier and TypeMethod and Description
public InetAddressResolver
public String
lookupLocalHostName()

Implements java.net.spi.InetAddressResolverProvider.Configuration.lookupLocalHostName.

Reads the localhost name from the system configuration.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

builtinResolverback to summary
private final InetAddressResolver builtinResolver
localHostNameSupplierback to summary
private final Supplier<String> localHostNameSupplier

Constructor Detail

ResolverProviderConfigurationback to summary
public ResolverProviderConfiguration(InetAddressResolver builtinResolver, Supplier<String> localHostNameSupplier)

Method Detail

builtinResolverback to summary
public InetAddressResolver builtinResolver()

Implements java.net.spi.InetAddressResolverProvider.Configuration.builtinResolver.

Doc from java.net.spi.InetAddressResolverProvider.Configuration.builtinResolver.

Returns the built-in resolver.

Annotations
@Override
lookupLocalHostNameback to summary
public String lookupLocalHostName()

Implements java.net.spi.InetAddressResolverProvider.Configuration.lookupLocalHostName.

Doc from java.net.spi.InetAddressResolverProvider.Configuration.lookupLocalHostName.

Reads the localhost name from the system configuration.

Annotations
@Override