public class SunJvmResolverConfigProvider extends BaseResolverConfigProvider
sun.net.dns.ResolverConfiguration via reflection.
As of Java 9, this generates an illegal reflective access exception and on Windows, this may return invalid nameservers of disconnected NICs.
| Constructor and Description |
|---|
SunJvmResolverConfigProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize()
Initializes the servers, search paths, etc.
|
boolean |
isEnabled()
Determines if this provider is enabled.
|
addNameserver, addSearchPath, parseNdots, parseSearchPathList, searchPaths, serversclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitndotspublic void initialize()
throws InitializationException
ResolverConfigProviderInitializationExceptionpublic boolean isEnabled()
ResolverConfigProviderCopyright © 2021 dnsjava.org. All rights reserved.