程序包 | 说明 |
---|---|
io.netty.buffer |
Abstraction of a byte buffer - the fundamental data structure
to represent a low-level binary and text message.
|
io.netty.channel |
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
|
io.netty.channel.nio |
NIO-based channel
API implementation - recommended for a large number of connections (>= 1000).
|
io.netty.channel.sctp |
Abstract SCTP socket interfaces which extend the core channel API.
|
io.netty.channel.socket |
Abstract TCP and UDP socket interfaces which extend the core channel API.
|
io.netty.channel.udt |
UDT Transport.
|
io.netty.handler.codec.haproxy |
Decodes an HAProxy proxy protocol header
|
io.netty.handler.codec.http |
Encoder, decoder and their related message types for HTTP.
|
io.netty.handler.codec.http.multipart |
HTTP multipart support.
|
io.netty.handler.codec.http.websocketx |
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
|
io.netty.handler.codec.spdy |
Encoder, decoder, session handler and their related message types for the SPDY protocol.
|
io.netty.handler.ssl |
SSL ·
TLS implementation based on
SSLEngine |
io.netty.util |
Utility classes used across multiple packages.
|
限定符和类型 | 接口和说明 |
---|---|
interface |
ByteBufHolder
A packet which is send or receive.
|
限定符和类型 | 类和说明 |
---|---|
class |
AbstractByteBuf
A skeletal implementation of a buffer.
|
class |
AbstractDerivedByteBuf
已过时。
Do not use.
|
class |
AbstractReferenceCountedByteBuf
Abstract base class for
ByteBuf implementations that count references. |
class |
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
class |
CompositeByteBuf
A virtual buffer which shows multiple buffers as a single merged buffer.
|
class |
DefaultByteBufHolder
Default implementation of a
ByteBufHolder that holds it's data in a ByteBuf . |
class |
DuplicatedByteBuf
已过时。
Do not use.
|
class |
EmptyByteBuf
An empty
ByteBuf whose capacity and maximum capacity are all 0 . |
class |
ReadOnlyByteBuf
已过时。
Do not use.
|
class |
SlicedByteBuf
已过时。
Do not use.
|
class |
SwappedByteBuf
Wrapper which swap the
ByteOrder of a ByteBuf . |
class |
UnpooledDirectByteBuf
A NIO
ByteBuffer based buffer. |
class |
UnpooledHeapByteBuf
Big endian Java heap buffer implementation.
|
class |
UnpooledUnsafeDirectByteBuf
A NIO
ByteBuffer based buffer. |
限定符和类型 | 接口和说明 |
---|---|
interface |
AddressedEnvelope<M,A extends java.net.SocketAddress>
A message that wraps another message with a sender address and a recipient address.
|
interface |
FileRegion
A region of a file that is sent via a
Channel which supports
zero-copy file transfer. |
限定符和类型 | 类和说明 |
---|---|
class |
DefaultAddressedEnvelope<M,A extends java.net.SocketAddress>
The default
AddressedEnvelope implementation. |
class |
DefaultFileRegion
|
限定符和类型 | 方法和说明 |
---|---|
protected ByteBuf |
AbstractNioChannel.newDirectBuffer(ReferenceCounted holder,
ByteBuf buf)
Returns an off-heap copy of the specified
ByteBuf , and releases the specified holder. |
限定符和类型 | 类和说明 |
---|---|
class |
SctpMessage
Representation of SCTP Data Chunk
|
限定符和类型 | 类和说明 |
---|---|
class |
DatagramPacket
The message container that is used for
DatagramChannel to communicate with the remote peer. |
限定符和类型 | 类和说明 |
---|---|
class |
UdtMessage
已过时。
The UDT transport is no longer maintained and will be removed.
|
限定符和类型 | 类和说明 |
---|---|
class |
HAProxySSLTLV
Represents a
HAProxyTLV of the type HAProxyTLV.Type.PP2_TYPE_SSL . |
class |
HAProxyTLV
A Type-Length Value (TLV vector) that can be added to the PROXY protocol
to include additional information like SSL information.
|
限定符和类型 | 接口和说明 |
---|---|
interface |
FullHttpMessage
Combines
HttpMessage and LastHttpContent into one
message. |
interface |
FullHttpRequest
Combine the
HttpRequest and FullHttpMessage , so the request is a complete HTTP
request. |
interface |
FullHttpResponse
Combination of a
HttpResponse and FullHttpMessage . |
interface |
HttpContent
An HTTP chunk which is used for HTTP chunked transfer-encoding.
|
interface |
LastHttpContent
The last
HttpContent which has trailing headers. |
限定符和类型 | 类和说明 |
---|---|
class |
DefaultFullHttpRequest
Default implementation of
FullHttpRequest . |
class |
DefaultFullHttpResponse
Default implementation of a
FullHttpResponse . |
class |
DefaultHttpContent
The default
HttpContent implementation. |
class |
DefaultLastHttpContent
The default
LastHttpContent implementation. |
限定符和类型 | 接口和说明 |
---|---|
interface |
Attribute
Attribute interface
|
interface |
FileUpload
FileUpload interface that could be in memory, on temporary file or any other implementations.
|
interface |
HttpData
Extended interface for InterfaceHttpData
|
interface |
InterfaceHttpData
Interface for all Objects that could be encoded/decoded using HttpPostRequestEncoder/Decoder
|
限定符和类型 | 类和说明 |
---|---|
class |
AbstractDiskHttpData
Abstract Disk HttpData implementation
|
class |
AbstractHttpData
Abstract HttpData implementation
|
class |
AbstractMemoryHttpData
Abstract Memory HttpData implementation
|
class |
DiskAttribute
Disk implementation of Attributes
|
class |
DiskFileUpload
Disk FileUpload implementation that stores file into real files
|
class |
MemoryAttribute
Memory implementation of Attributes
|
class |
MemoryFileUpload
Default FileUpload implementation that stores file into memory.
|
class |
MixedAttribute
Mixed implementation using both in Memory and in File with a limit of size
|
class |
MixedFileUpload
Mixed implementation using both in Memory and in File with a limit of size
|
限定符和类型 | 类和说明 |
---|---|
class |
BinaryWebSocketFrame
Web Socket frame containing binary data
|
class |
CloseWebSocketFrame
Web Socket Frame for closing the connection
|
class |
ContinuationWebSocketFrame
Web Socket continuation frame containing continuation text or binary data.
|
class |
PingWebSocketFrame
Web Socket frame containing binary data
|
class |
PongWebSocketFrame
Web Socket frame containing binary data
|
class |
TextWebSocketFrame
Web Socket text frame with assumed UTF-8 encoding
|
class |
WebSocketFrame
Base class for web socket frames
|
限定符和类型 | 接口和说明 |
---|---|
interface |
SpdyDataFrame
A SPDY Protocol DATA Frame
|
限定符和类型 | 类和说明 |
---|---|
class |
DefaultSpdyDataFrame
The default
SpdyDataFrame implementation. |
限定符和类型 | 类和说明 |
---|---|
class |
OpenSslClientContext
A client-side
SslContext which uses OpenSSL's SSL/TLS implementation. |
class |
OpenSslContext
This class will use a finalizer to ensure native resources are automatically cleaned up.
|
class |
OpenSslEngine
Implements a
SSLEngine using
OpenSSL BIO abstractions. |
class |
OpenSslServerContext
A server-side
SslContext which uses OpenSSL's SSL/TLS implementation. |
class |
PemPrivateKey
This is a special purpose implementation of a
PrivateKey which allows the
user to pass PEM/PKCS#8 encoded key material straight into OpenSslContext
without having to parse and re-encode bytes in Java land. |
class |
ReferenceCountedOpenSslClientContext
A client-side
SslContext which uses OpenSSL's SSL/TLS implementation. |
class |
ReferenceCountedOpenSslContext
An implementation of
SslContext which works with libraries that support the
OpenSsl C library API. |
class |
ReferenceCountedOpenSslEngine
Implements a
SSLEngine using
OpenSSL BIO abstractions. |
class |
ReferenceCountedOpenSslServerContext
A server-side
SslContext which uses OpenSSL's SSL/TLS implementation. |
限定符和类型 | 方法和说明 |
---|---|
ReferenceCounted |
ReferenceCountedOpenSslEngine.retain() |
ReferenceCounted |
ReferenceCountedOpenSslContext.retain() |
ReferenceCounted |
ReferenceCountedOpenSslEngine.retain(int increment) |
ReferenceCounted |
ReferenceCountedOpenSslContext.retain(int increment) |
限定符和类型 | 类和说明 |
---|---|
class |
AbstractReferenceCounted
Abstract base class for classes wants to implement
ReferenceCounted . |
限定符和类型 | 方法和说明 |
---|---|
ReferenceCounted |
ReferenceCounted.retain()
Increases the reference count by
1 . |
ReferenceCounted |
AbstractReferenceCounted.retain() |
ReferenceCounted |
ReferenceCounted.retain(int increment)
Increases the reference count by the specified
increment . |
ReferenceCounted |
AbstractReferenceCounted.retain(int increment) |