public class DefaultNameResolver extends Object implements NameResolver
InetAddress.| Modifier and Type | Field and Description |
|---|---|
static DefaultNameResolver |
INSTANCE
Singleton instance which can be used to avoid allocation.
|
| Constructor and Description |
|---|
DefaultNameResolver() |
| Modifier and Type | Method and Description |
|---|---|
InetAddress |
resolve(String name,
String uriParamName,
boolean isReResolution)
Resolve a name and return the most up to date
InetAddress that represents the name. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoWork, lookuppublic static final DefaultNameResolver INSTANCE
public InetAddress resolve(String name, String uriParamName, boolean isReResolution)
InetAddress that represents the name.resolve in interface NameResolvername - to resolve.uriParamName - that the resolution is for.isReResolution - true if this is a re-resolution or false if initial resolution.CommonContext.ENDPOINT_PARAM_NAME,
CommonContext.MDC_CONTROL_PARAM_NAMECopyright © 2014-2020 Real Logic Limited. All Rights Reserved.