InetNameResolver that resolves using JDK's built-in domain name lookup mechanism.
Note that this resolver performs a blocking name lookup from the caller thread.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | doResolve(String inetHost, Promise<InetAddress> promise)
Implements abstract io. resolve(String) to perform the actual name resolution.
|
| protected void | doResolveAll(String inetHost, Promise<List<InetAddress>> promise)
Implements abstract io. resolveAll(String) to perform the actual name resolution.
|
| DefaultNameResolver | back to summary |
|---|---|
| public DefaultNameResolver(EventExecutor executor) | |
| doResolve | back to summary |
|---|---|
| protected void doResolve(String inetHost, Promise<InetAddress> promise) throws Exception Implements abstract io. Doc from io. Invoked by
| |
| doResolveAll | back to summary |
|---|---|
| protected void doResolveAll(String inetHost, Promise<List<InetAddress>> promise) throws Exception Implements abstract io. Doc from io. Invoked by
| |