Package | Description |
---|---|
io.netty.resolver |
Resolves an arbitrary string that represents the name of an endpoint into an address.
|
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 |
AbstractAddressResolver<T extends SocketAddress>
A skeletal
AddressResolver implementation. |
class |
InetSocketAddressResolver
A
AbstractAddressResolver that resolves InetSocketAddress . |
class |
NoopAddressResolver
A
AddressResolver that does not perform any resolution but always reports successful resolution. |
Modifier and Type | Method and Description |
---|---|
AddressResolver<InetSocketAddress> |
InetNameResolver.asAddressResolver()
Return a
AddressResolver that will use this name resolver underneath. |
AddressResolver<T> |
AddressResolverGroup.getResolver(EventExecutor executor)
Returns the
AddressResolver associated with the specified EventExecutor . |
protected AddressResolver<SocketAddress> |
NoopAddressResolverGroup.newResolver(EventExecutor executor) |
protected AddressResolver<InetSocketAddress> |
DefaultAddressResolverGroup.newResolver(EventExecutor executor) |
protected abstract AddressResolver<T> |
AddressResolverGroup.newResolver(EventExecutor executor)
Invoked by
AddressResolverGroup.getResolver(EventExecutor) to create a new AddressResolver . |
Copyright © 2008–2017 The Netty Project. All rights reserved.