程序包 | 说明 |
---|---|
io.netty.channel.epoll |
Optimized transport for linux which uses EPOLL Edge-Triggered Mode
for maximal performance.
|
io.netty.channel.kqueue |
BSD specific transport.
|
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.channel.socket.oio |
Old blocking I/O based socket channel API implementation - recommended for
a small number of connections (< 1000).
|
io.netty.example.factorial | |
io.netty.example.http.cors | |
io.netty.example.http.file | |
io.netty.example.http.helloworld | |
io.netty.example.http.snoop | |
io.netty.example.http.upload | |
io.netty.example.http.websocketx.benchmarkserver |
This package contains a benchmark application for websockets.
|
io.netty.example.http.websocketx.server |
This package contains an example web socket web server.
|
io.netty.example.http2.file | |
io.netty.example.http2.helloworld.client | |
io.netty.example.http2.helloworld.frame.server | |
io.netty.example.http2.helloworld.multiplex.server | |
io.netty.example.http2.helloworld.server | |
io.netty.example.proxy | |
io.netty.example.securechat | |
io.netty.example.socksproxy | |
io.netty.example.spdy.client |
This package contains an example SPDY HTTP client.
|
io.netty.example.spdy.server |
This package contains an example SPDY HTTP web server.
|
io.netty.example.stomp.websocket | |
io.netty.example.telnet | |
io.netty.example.worldclock | |
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.
|
io.netty.testsuite.autobahn |
This package is intended for use with testing against the Python
AutoBahn test suite.
|
io.netty.testsuite.http2 |
This package is intended to test the http2 implementation against the specification
using h2spec
|
io.netty.testsuite.svm |
A hello world server that should be compiled to native.
|
限定符和类型 | 类和说明 |
---|---|
class |
EpollSocketChannel
SocketChannel implementation that uses linux EPOLL Edge-Triggered Mode for
maximal performance. |
限定符和类型 | 类和说明 |
---|---|
class |
KQueueSocketChannel |
构造器和说明 |
---|
DefaultSocketChannelConfig(SocketChannel channel,
java.net.Socket javaSocket)
Creates a new instance.
|
限定符和类型 | 类和说明 |
---|---|
class |
NioSocketChannel
SocketChannel which uses NIO selector based implementation. |
限定符和类型 | 类和说明 |
---|---|
class |
OioSocketChannel
已过时。
use NIO / EPOLL / KQUEUE transport.
|
构造器和说明 |
---|
DefaultOioSocketChannelConfig(SocketChannel channel,
java.net.Socket javaSocket)
已过时。
|
限定符和类型 | 方法和说明 |
---|---|
void |
FactorialServerInitializer.initChannel(SocketChannel ch) |
void |
FactorialClientInitializer.initChannel(SocketChannel ch) |
限定符和类型 | 方法和说明 |
---|---|
void |
HttpCorsServerInitializer.initChannel(SocketChannel ch) |
限定符和类型 | 方法和说明 |
---|---|
void |
HttpStaticFileServerInitializer.initChannel(SocketChannel ch) |
限定符和类型 | 方法和说明 |
---|---|
void |
HttpHelloWorldServerInitializer.initChannel(SocketChannel ch) |
限定符和类型 | 方法和说明 |
---|---|
void |
HttpSnoopServerInitializer.initChannel(SocketChannel ch) |
void |
HttpSnoopClientInitializer.initChannel(SocketChannel ch) |
限定符和类型 | 方法和说明 |
---|---|
void |
HttpUploadServerInitializer.initChannel(SocketChannel ch) |
void |
HttpUploadClientInitializer.initChannel(SocketChannel ch) |
限定符和类型 | 方法和说明 |
---|---|
void |
WebSocketServerInitializer.initChannel(SocketChannel ch) |
限定符和类型 | 方法和说明 |
---|---|
void |
WebSocketServerInitializer.initChannel(SocketChannel ch) |
限定符和类型 | 方法和说明 |
---|---|
void |
Http2StaticFileServerInitializer.initChannel(SocketChannel ch) |
限定符和类型 | 方法和说明 |
---|---|
void |
Http2ClientInitializer.initChannel(SocketChannel ch) |
限定符和类型 | 方法和说明 |
---|---|
void |
Http2ServerInitializer.initChannel(SocketChannel ch) |
限定符和类型 | 方法和说明 |
---|---|
void |
Http2ServerInitializer.initChannel(SocketChannel ch) |
限定符和类型 | 方法和说明 |
---|---|
void |
Http2ServerInitializer.initChannel(SocketChannel ch) |
限定符和类型 | 方法和说明 |
---|---|
void |
HexDumpProxyInitializer.initChannel(SocketChannel ch) |
限定符和类型 | 方法和说明 |
---|---|
void |
SecureChatServerInitializer.initChannel(SocketChannel ch) |
void |
SecureChatClientInitializer.initChannel(SocketChannel ch) |
限定符和类型 | 方法和说明 |
---|---|
void |
SocksServerInitializer.initChannel(SocketChannel ch) |
限定符和类型 | 方法和说明 |
---|---|
void |
SpdyClientInitializer.initChannel(SocketChannel ch) |
限定符和类型 | 方法和说明 |
---|---|
void |
SpdyServerInitializer.initChannel(SocketChannel ch) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
StompWebSocketChatServerInitializer.initChannel(SocketChannel channel) |
限定符和类型 | 方法和说明 |
---|---|
void |
TelnetServerInitializer.initChannel(SocketChannel ch) |
void |
TelnetClientInitializer.initChannel(SocketChannel ch) |
限定符和类型 | 方法和说明 |
---|---|
void |
WorldClockServerInitializer.initChannel(SocketChannel ch) |
void |
WorldClockClientInitializer.initChannel(SocketChannel ch) |
限定符和类型 | 方法和说明 |
---|---|
ChannelFactory<SocketChannel> |
IoTransport.socketChannel() |
限定符和类型 | 方法和说明 |
---|---|
static IoTransport |
IoTransport.create(EventLoop eventLoop,
ChannelFactory<SocketChannel> socketChannel,
ChannelFactory<DatagramChannel> datagramChannel)
Create a new
IoTransport instance |
限定符和类型 | 方法和说明 |
---|---|
DnsNameResolverBuilder |
DnsNameResolverBuilder.socketChannelFactory(ChannelFactory<? extends SocketChannel> channelFactory)
|
DnsNameResolverBuilder |
DnsNameResolverBuilder.socketChannelFactory(ChannelFactory<? extends SocketChannel> channelFactory,
boolean retryOnTimeout)
|
DnsNameResolverBuilder |
DnsNameResolverBuilder.socketChannelType(java.lang.Class<? extends SocketChannel> channelType)
|
DnsNameResolverBuilder |
DnsNameResolverBuilder.socketChannelType(java.lang.Class<? extends SocketChannel> channelType,
boolean retryOnTimeout)
|
限定符和类型 | 方法和说明 |
---|---|
void |
AutobahnServerInitializer.initChannel(SocketChannel ch) |
限定符和类型 | 方法和说明 |
---|---|
void |
Http2ServerInitializer.initChannel(SocketChannel ch) |
限定符和类型 | 方法和说明 |
---|---|
void |
HttpNativeServerInitializer.initChannel(SocketChannel ch) |