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 | Method and Description |
---|---|
static ResolvedAddressTypes |
ResolvedAddressTypes.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResolvedAddressTypes[] |
ResolvedAddressTypes.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
InetAddress |
DefaultHostsFileEntriesResolver.address(String inetHost,
ResolvedAddressTypes resolvedAddressTypes) |
InetAddress |
HostsFileEntriesResolver.address(String inetHost,
ResolvedAddressTypes resolvedAddressTypes)
Resolve the address of a hostname against the entries in a hosts file, depending on some address types.
|
List<InetAddress> |
DefaultHostsFileEntriesResolver.addresses(String inetHost,
ResolvedAddressTypes resolvedAddressTypes)
Resolves all addresses of a hostname against the entries in a hosts file, depending on the specified
ResolvedAddressTypes . |
Modifier and Type | Method and Description |
---|---|
static ResolvedAddressTypes |
DnsNameResolverBuilder.computeResolvedAddressTypes(InternetProtocolFamily... internetProtocolFamilies)
Compute a
ResolvedAddressTypes from some InternetProtocolFamily s. |
ResolvedAddressTypes |
DnsNameResolver.resolvedAddressTypes()
Returns the
ResolvedAddressTypes resolved by SimpleNameResolver.resolve(String) . |
Modifier and Type | Method and Description |
---|---|
DnsNameResolverBuilder |
DnsNameResolverBuilder.resolvedAddressTypes(ResolvedAddressTypes resolvedAddressTypes)
Sets the list of the protocol families of the address resolved.
|
Constructor and Description |
---|
DnsNameResolver(EventLoop eventLoop,
ChannelFactory<? extends DatagramChannel> channelFactory,
DnsCache resolveCache,
AuthoritativeDnsServerCache authoritativeDnsServerCache,
DnsQueryLifecycleObserverFactory dnsQueryLifecycleObserverFactory,
long queryTimeoutMillis,
ResolvedAddressTypes resolvedAddressTypes,
boolean recursionDesired,
int maxQueriesPerResolve,
boolean traceEnabled,
int maxPayloadSize,
boolean optResourceEnabled,
HostsFileEntriesResolver hostsFileEntriesResolver,
DnsServerAddressStreamProvider dnsServerAddressStreamProvider,
String[] searchDomains,
int ndots,
boolean decodeIdn)
Deprecated.
|
DnsNameResolver(EventLoop eventLoop,
ChannelFactory<? extends DatagramChannel> channelFactory,
DnsCache resolveCache,
DnsCache authoritativeDnsServerCache,
DnsQueryLifecycleObserverFactory dnsQueryLifecycleObserverFactory,
long queryTimeoutMillis,
ResolvedAddressTypes resolvedAddressTypes,
boolean recursionDesired,
int maxQueriesPerResolve,
boolean traceEnabled,
int maxPayloadSize,
boolean optResourceEnabled,
HostsFileEntriesResolver hostsFileEntriesResolver,
DnsServerAddressStreamProvider dnsServerAddressStreamProvider,
String[] searchDomains,
int ndots,
boolean decodeIdn)
Deprecated.
|
Copyright © 2008–2024 The Netty Project. All rights reserved.