Package | Description |
---|---|
io.netty.resolver |
Resolves an arbitrary string that represents the name of an endpoint into a
SocketAddress . |
io.netty.resolver.dns |
An alternative to Java's built-in domain name lookup mechanism that resolves a domain name asynchronously,
which supports the queries of an arbitrary DNS record type as well.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultNameResolver
A
NameResolver that resolves an InetSocketAddress using JDK's built-in domain name lookup mechanism. |
class |
NoopNameResolver
A
NameResolver that does not perform any resolution but always reports successful resolution. |
class |
SimpleNameResolver<T extends SocketAddress>
A skeletal
NameResolver implementation. |
Modifier and Type | Method and Description |
---|---|
NameResolver<T> |
NameResolverGroup.getResolver(EventExecutor executor)
Returns the
NameResolver associated with the specified EventExecutor . |
protected abstract NameResolver<T> |
NameResolverGroup.newResolver(EventExecutor executor)
Invoked by
NameResolverGroup.getResolver(EventExecutor) to create a new NameResolver . |
protected NameResolver<InetSocketAddress> |
DefaultNameResolverGroup.newResolver(EventExecutor executor) |
protected NameResolver<SocketAddress> |
NoopNameResolverGroup.newResolver(EventExecutor executor) |
Modifier and Type | Class and Description |
---|---|
class |
DnsNameResolver
A DNS-based
NameResolver . |
Modifier and Type | Method and Description |
---|---|
protected NameResolver<InetSocketAddress> |
DnsNameResolverGroup.newResolver(EventExecutor executor) |
Copyright © 2008–2015 The Netty Project. All rights reserved.