Package | Description |
---|---|
io.netty.channel.socket |
Abstract TCP and UDP socket interfaces which extend the core channel API.
|
io.netty.channel.socket.nio |
NIO-based socket channel
API implementation - recommended for a large number of connections (>= 1000).
|
io.netty.handler.codec.dns |
DNS codec.
|
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 InternetProtocolFamily |
InternetProtocolFamily.of(java.net.InetAddress address)
Returns the
InternetProtocolFamily for the given InetAddress . |
static InternetProtocolFamily |
InternetProtocolFamily.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InternetProtocolFamily[] |
InternetProtocolFamily.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static java.net.ProtocolFamily |
ProtocolFamilyConverter.convert(InternetProtocolFamily family)
Convert the
InternetProtocolFamily . |
private static java.nio.channels.DatagramChannel |
NioDatagramChannel.newSocket(java.nio.channels.spi.SelectorProvider provider,
InternetProtocolFamily ipFamily) |
Constructor and Description |
---|
NioDatagramChannel(InternetProtocolFamily ipFamily)
Create a new instance using the given
InternetProtocolFamily . |
NioDatagramChannel(java.nio.channels.spi.SelectorProvider provider,
InternetProtocolFamily ipFamily)
Create a new instance using the given
SelectorProvider and InternetProtocolFamily . |
Constructor and Description |
---|
DefaultDnsOptEcsRecord(int maxPayloadSize,
InternetProtocolFamily protocolFamily)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
private static InternetProtocolFamily[] |
DnsNameResolver.IPV4_ONLY_RESOLVED_PROTOCOL_FAMILIES |
private static InternetProtocolFamily[] |
DnsNameResolver.IPV4_PREFERRED_RESOLVED_PROTOCOL_FAMILIES |
private static InternetProtocolFamily[] |
DnsNameResolver.IPV6_ONLY_RESOLVED_PROTOCOL_FAMILIES |
private static InternetProtocolFamily[] |
DnsNameResolver.IPV6_PREFERRED_RESOLVED_PROTOCOL_FAMILIES |
private InternetProtocolFamily |
DnsNameResolver.preferredAddressType |
private InternetProtocolFamily[] |
DnsNameResolver.resolvedInternetProtocolFamilies |
private InternetProtocolFamily[] |
DnsNameResolverContext.resolvedInternetProtocolFamilies |
Modifier and Type | Method and Description |
---|---|
(package private) InternetProtocolFamily |
DnsNameResolver.preferredAddressType() |
(package private) InternetProtocolFamily[] |
DnsNameResolver.resolvedInternetProtocolFamiliesUnsafe() |
Modifier and Type | Method and Description |
---|---|
static ResolvedAddressTypes |
DnsNameResolverBuilder.computeResolvedAddressTypes(InternetProtocolFamily... internetProtocolFamilies)
Compute a
ResolvedAddressTypes from some InternetProtocolFamily s. |