程序包 | 说明 |
---|---|
io.netty.bootstrap |
The helper classes with fluent API which enable an easy implementation of
typical client side and server side channel initialization.
|
io.netty.channel.udt.nio |
UDT Transport for NIO Channels.
|
io.netty.handler.ssl.ocsp |
Certificate validation using OCSP
|
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.
|
限定符和类型 | 方法和说明 |
---|---|
B |
AbstractBootstrap.channelFactory(ChannelFactory<? extends C> channelFactory)
ChannelFactory which is used to create Channel instances from
when calling AbstractBootstrap.bind() . |
限定符和类型 | 字段和说明 |
---|---|
static ChannelFactory<UdtServerChannel> |
NioUdtProvider.BYTE_ACCEPTOR
已过时。
ChannelFactory for UDT Byte Acceptor. |
static ChannelFactory<UdtChannel> |
NioUdtProvider.BYTE_CONNECTOR
已过时。
ChannelFactory for UDT Byte Connector. |
static ChannelFactory<UdtChannel> |
NioUdtProvider.BYTE_RENDEZVOUS
已过时。
ChannelFactory for UDT Byte Rendezvous. |
static ChannelFactory<UdtServerChannel> |
NioUdtProvider.MESSAGE_ACCEPTOR
已过时。
ChannelFactory for UDT Message Acceptor. |
static ChannelFactory<UdtChannel> |
NioUdtProvider.MESSAGE_CONNECTOR
已过时。
ChannelFactory for UDT Message Connector. |
static ChannelFactory<UdtChannel> |
NioUdtProvider.MESSAGE_RENDEZVOUS
已过时。
ChannelFactory for UDT Message Rendezvous. |
限定符和类型 | 方法和说明 |
---|---|
ChannelFactory<DatagramChannel> |
IoTransport.datagramChannel() |
ChannelFactory<SocketChannel> |
IoTransport.socketChannel() |
限定符和类型 | 方法和说明 |
---|---|
static IoTransport |
IoTransport.create(EventLoop eventLoop,
ChannelFactory<SocketChannel> socketChannel,
ChannelFactory<DatagramChannel> datagramChannel)
Create a new
IoTransport instance |
static IoTransport |
IoTransport.create(EventLoop eventLoop,
ChannelFactory<SocketChannel> socketChannel,
ChannelFactory<DatagramChannel> datagramChannel)
Create a new
IoTransport instance |
限定符和类型 | 方法和说明 |
---|---|
protected ChannelFactory<? extends DatagramChannel> |
DnsNameResolverBuilder.channelFactory() |
限定符和类型 | 方法和说明 |
---|---|
DnsNameResolverBuilder |
DnsNameResolverBuilder.channelFactory(ChannelFactory<? extends DatagramChannel> channelFactory)
Sets the
ChannelFactory that will create a DatagramChannel . |
protected NameResolver<java.net.InetAddress> |
DnsAddressResolverGroup.newNameResolver(EventLoop eventLoop,
ChannelFactory<? extends DatagramChannel> channelFactory,
DnsServerAddressStreamProvider nameServerProvider)
Creates a new
NameResolver . |
protected AddressResolver<java.net.InetSocketAddress> |
DnsAddressResolverGroup.newResolver(EventLoop eventLoop,
ChannelFactory<? extends DatagramChannel> channelFactory,
DnsServerAddressStreamProvider nameServerProvider)
|
DnsNameResolverBuilder |
DnsNameResolverBuilder.socketChannelFactory(ChannelFactory<? extends SocketChannel> channelFactory)
|
DnsNameResolverBuilder |
DnsNameResolverBuilder.socketChannelFactory(ChannelFactory<? extends SocketChannel> channelFactory,
boolean retryOnTimeout)
|
构造器和说明 |
---|
DnsAddressResolverGroup(ChannelFactory<? extends DatagramChannel> channelFactory,
DnsServerAddressStreamProvider nameServerProvider) |
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,
java.lang.String[] searchDomains,
int ndots,
boolean decodeIdn)
已过时。
|
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,
java.lang.String[] searchDomains,
int ndots,
boolean decodeIdn)
已过时。
|
RoundRobinDnsAddressResolverGroup(ChannelFactory<? extends DatagramChannel> channelFactory,
DnsServerAddressStreamProvider nameServerProvider) |