程序包 | 说明 |
---|---|
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 |
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
|
io.netty.channel.embedded |
A virtual
Channel that helps wrapping a series of handlers to
unit test the handlers or use them in non-I/O context. |
io.netty.example.discard | |
io.netty.example.echo | |
io.netty.example.factorial | |
io.netty.example.file | |
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.client | |
io.netty.example.http.websocketx.server |
This package contains an example web socket web server.
|
io.netty.example.localecho | |
io.netty.example.objectecho | |
io.netty.example.portunification | |
io.netty.example.proxy | |
io.netty.example.qotm | |
io.netty.example.rxtx | |
io.netty.example.sctp | |
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.telnet | |
io.netty.example.udt.echo.bytes |
Examples show how to use UDT Byte Streams.
|
io.netty.example.udt.echo.message |
Examples show how to use UDT Message Flows.
|
io.netty.example.udt.echo.rendezvous |
Examples show how to use UDT Message Rendezvous.
|
io.netty.example.udt.echo.rendezvousBytes |
Examples show how to use UDT Byte Streams Rendezvous.
|
io.netty.example.uptime | |
io.netty.example.worldclock | |
io.netty.handler.codec |
Extensible decoder and its common implementations which deal with the
packet fragmentation and reassembly issue found in a stream-based transport
such as TCP/IP.
|
io.netty.handler.codec.base64 | |
io.netty.handler.codec.bytes |
Encoder and decoder which transform an array of bytes into a
ByteBuf and vice versa. |
io.netty.handler.codec.compression | |
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.cors |
This package contains Cross Origin Resource Sharing (CORS) related classes.
|
io.netty.handler.codec.http.websocketx |
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
|
io.netty.handler.codec.marshalling |
Decoder and Encoder which uses JBoss Marshalling.
|
io.netty.handler.codec.protobuf |
Encoder and decoder which transform a
Google Protocol Buffers
com.google.protobuf.Message into a ByteBuf
and vice versa. |
io.netty.handler.codec.rtsp |
An RTSP
extension based on the HTTP codec.
|
io.netty.handler.codec.sctp |
Decoder and encoders to manage message completion and multi-streaming codec in SCTP/IP.
|
io.netty.handler.codec.serialization |
Encoder, decoder and their compatibility stream implementations which
transform a
Serializable object into a byte buffer and
vice versa. |
io.netty.handler.codec.socks |
Encoder, decoder and their related message types for Socks.
|
io.netty.handler.codec.spdy |
Encoder, decoder, session handler and their related message types for the SPDY protocol.
|
io.netty.handler.codec.string |
Encoder and decoder which transform a
String into a
ByteBuf and vice versa. |
io.netty.handler.flush |
Package to control flush behavior.
|
io.netty.handler.ipfilter |
Package to filter IP addresses (allow/deny).
|
io.netty.handler.logging |
Logs a
io.netty.channel.ChannelEvent for debugging purpose. |
io.netty.handler.ssl |
SSL ·
TLS implementation based on
SSLEngine |
io.netty.handler.ssl.ocsp |
OCSP stapling,
formally known as the TLS Certificate Status Request extension, is an
alternative approach to the Online Certificate Status Protocol (OCSP)
for checking the revocation status of X.509 digital certificates.
|
io.netty.handler.stream |
Writes very large data stream asynchronously neither spending a lot of
memory nor getting
OutOfMemoryError . |
io.netty.handler.timeout |
Adds support for read and write timeout and idle connection notification
using a
Timer . |
io.netty.handler.traffic |
Implementation of a Traffic Shaping Handler and Dynamic Statistics.
|
限定符和类型 | 方法和说明 |
---|---|
ServerBootstrap |
ServerBootstrap.childHandler(ChannelHandler childHandler)
Set the
ChannelHandler which is used to serve the request for the Channel 's. |
B |
AbstractBootstrap.handler(ChannelHandler handler)
the
ChannelHandler to use for serving the requests. |
限定符和类型 | 接口和说明 |
---|---|
interface |
ChannelInboundHandler
ChannelHandler which adds callbacks for state changes. |
interface |
ChannelOutboundHandler
ChannelHandler which will get notified for IO-outbound-operations. |
限定符和类型 | 类和说明 |
---|---|
class |
ChannelDuplexHandler
ChannelHandler implementation which represents a combination out of a ChannelInboundHandler and
the ChannelOutboundHandler . |
class |
ChannelHandlerAdapter
Skeleton implementation of a
ChannelHandler . |
class |
ChannelInboundHandlerAdapter
Abstract base class for
ChannelInboundHandler implementations which provide
implementations of all of their methods. |
class |
ChannelInitializer<C extends Channel>
A special
ChannelInboundHandler which offers an easy way to initialize a Channel once it was
registered to its EventLoop . |
class |
ChannelOutboundHandlerAdapter
Skeleton implementation of a
ChannelOutboundHandler . |
class |
CombinedChannelDuplexHandler<I extends ChannelInboundHandler,O extends ChannelOutboundHandler>
|
class |
SimpleChannelInboundHandler<I>
ChannelInboundHandlerAdapter which allows to explicit only handle a specific type of messages. |
限定符和类型 | 方法和说明 |
---|---|
<T extends ChannelHandler> |
DefaultChannelPipeline.get(java.lang.Class<T> handlerType) |
<T extends ChannelHandler> |
ChannelPipeline.get(java.lang.Class<T> handlerType)
Returns the
ChannelHandler of the specified type in this
pipeline. |
<T extends ChannelHandler> |
DefaultChannelPipeline.remove(java.lang.Class<T> handlerType) |
<T extends ChannelHandler> |
ChannelPipeline.remove(java.lang.Class<T> handlerType)
Removes the
ChannelHandler of the specified type from this pipeline. |
<T extends ChannelHandler> |
DefaultChannelPipeline.replace(java.lang.Class<T> oldHandlerType,
java.lang.String newName,
ChannelHandler newHandler) |
<T extends ChannelHandler> |
ChannelPipeline.replace(java.lang.Class<T> oldHandlerType,
java.lang.String newName,
ChannelHandler newHandler)
Replaces the
ChannelHandler of the specified type with a new handler in this pipeline. |
限定符和类型 | 方法和说明 |
---|---|
ChannelHandler |
DefaultChannelPipeline.first() |
ChannelHandler |
ChannelPipeline.first()
Returns the first
ChannelHandler in this pipeline. |
ChannelHandler |
DefaultChannelPipeline.get(java.lang.String name) |
ChannelHandler |
ChannelPipeline.get(java.lang.String name)
Returns the
ChannelHandler with the specified name in this
pipeline. |
ChannelHandler |
ChannelHandlerContext.handler()
The
ChannelHandler that is bound this ChannelHandlerContext . |
ChannelHandler |
DefaultChannelPipeline.last() |
ChannelHandler |
ChannelPipeline.last()
Returns the last
ChannelHandler in this pipeline. |
ChannelHandler |
DefaultChannelPipeline.remove(java.lang.String name) |
ChannelHandler |
ChannelPipeline.remove(java.lang.String name)
Removes the
ChannelHandler with the specified name from this pipeline. |
ChannelHandler |
DefaultChannelPipeline.removeFirst() |
ChannelHandler |
ChannelPipeline.removeFirst()
Removes the first
ChannelHandler in this pipeline. |
ChannelHandler |
DefaultChannelPipeline.removeLast() |
ChannelHandler |
ChannelPipeline.removeLast()
Removes the last
ChannelHandler in this pipeline. |
ChannelHandler |
DefaultChannelPipeline.replace(java.lang.String oldName,
java.lang.String newName,
ChannelHandler newHandler) |
ChannelHandler |
ChannelPipeline.replace(java.lang.String oldName,
java.lang.String newName,
ChannelHandler newHandler)
Replaces the
ChannelHandler of the specified name with a new handler in this pipeline. |
限定符和类型 | 方法和说明 |
---|---|
java.util.Iterator<java.util.Map.Entry<java.lang.String,ChannelHandler>> |
DefaultChannelPipeline.iterator() |
java.util.Map<java.lang.String,ChannelHandler> |
DefaultChannelPipeline.toMap() |
java.util.Map<java.lang.String,ChannelHandler> |
ChannelPipeline.toMap()
Converts this pipeline into an ordered
Map whose keys are
handler names and whose values are handlers. |
限定符和类型 | 方法和说明 |
---|---|
ChannelPipeline |
DefaultChannelPipeline.addAfter(EventExecutorGroup group,
java.lang.String baseName,
java.lang.String name,
ChannelHandler handler) |
ChannelPipeline |
ChannelPipeline.addAfter(EventExecutorGroup group,
java.lang.String baseName,
java.lang.String name,
ChannelHandler handler)
Inserts a
ChannelHandler after an existing handler of this
pipeline. |
ChannelPipeline |
DefaultChannelPipeline.addAfter(java.lang.String baseName,
java.lang.String name,
ChannelHandler handler) |
ChannelPipeline |
ChannelPipeline.addAfter(java.lang.String baseName,
java.lang.String name,
ChannelHandler handler)
Inserts a
ChannelHandler after an existing handler of this
pipeline. |
ChannelPipeline |
DefaultChannelPipeline.addBefore(EventExecutorGroup group,
java.lang.String baseName,
java.lang.String name,
ChannelHandler handler) |
ChannelPipeline |
ChannelPipeline.addBefore(EventExecutorGroup group,
java.lang.String baseName,
java.lang.String name,
ChannelHandler handler)
Inserts a
ChannelHandler before an existing handler of this
pipeline. |
ChannelPipeline |
DefaultChannelPipeline.addBefore(java.lang.String baseName,
java.lang.String name,
ChannelHandler handler) |
ChannelPipeline |
ChannelPipeline.addBefore(java.lang.String baseName,
java.lang.String name,
ChannelHandler handler)
Inserts a
ChannelHandler before an existing handler of this
pipeline. |
ChannelPipeline |
DefaultChannelPipeline.addFirst(ChannelHandler... handlers) |
ChannelPipeline |
ChannelPipeline.addFirst(ChannelHandler... handlers)
Inserts
ChannelHandler s at the first position of this pipeline. |
ChannelPipeline |
DefaultChannelPipeline.addFirst(EventExecutorGroup executor,
ChannelHandler... handlers) |
ChannelPipeline |
ChannelPipeline.addFirst(EventExecutorGroup group,
ChannelHandler... handlers)
Inserts
ChannelHandler s at the first position of this pipeline. |
ChannelPipeline |
DefaultChannelPipeline.addFirst(EventExecutorGroup group,
java.lang.String name,
ChannelHandler handler) |
ChannelPipeline |
ChannelPipeline.addFirst(EventExecutorGroup group,
java.lang.String name,
ChannelHandler handler)
Inserts a
ChannelHandler at the first position of this pipeline. |
ChannelPipeline |
DefaultChannelPipeline.addFirst(java.lang.String name,
ChannelHandler handler) |
ChannelPipeline |
ChannelPipeline.addFirst(java.lang.String name,
ChannelHandler handler)
Inserts a
ChannelHandler at the first position of this pipeline. |
ChannelPipeline |
DefaultChannelPipeline.addLast(ChannelHandler... handlers) |
ChannelPipeline |
ChannelPipeline.addLast(ChannelHandler... handlers)
Inserts
ChannelHandler s at the last position of this pipeline. |
ChannelPipeline |
DefaultChannelPipeline.addLast(EventExecutorGroup executor,
ChannelHandler... handlers) |
ChannelPipeline |
ChannelPipeline.addLast(EventExecutorGroup group,
ChannelHandler... handlers)
Inserts
ChannelHandler s at the last position of this pipeline. |
ChannelPipeline |
DefaultChannelPipeline.addLast(EventExecutorGroup group,
java.lang.String name,
ChannelHandler handler) |
ChannelPipeline |
ChannelPipeline.addLast(EventExecutorGroup group,
java.lang.String name,
ChannelHandler handler)
Appends a
ChannelHandler at the last position of this pipeline. |
ChannelPipeline |
DefaultChannelPipeline.addLast(java.lang.String name,
ChannelHandler handler) |
ChannelPipeline |
ChannelPipeline.addLast(java.lang.String name,
ChannelHandler handler)
Appends a
ChannelHandler at the last position of this pipeline. |
ChannelHandlerContext |
DefaultChannelPipeline.context(ChannelHandler handler) |
ChannelHandlerContext |
ChannelPipeline.context(ChannelHandler handler)
Returns the context object of the specified
ChannelHandler in
this pipeline. |
ChannelPipeline |
DefaultChannelPipeline.remove(ChannelHandler handler) |
ChannelPipeline |
ChannelPipeline.remove(ChannelHandler handler)
Removes the specified
ChannelHandler from this pipeline. |
ChannelPipeline |
DefaultChannelPipeline.replace(ChannelHandler oldHandler,
java.lang.String newName,
ChannelHandler newHandler) |
ChannelPipeline |
ChannelPipeline.replace(ChannelHandler oldHandler,
java.lang.String newName,
ChannelHandler newHandler)
Replaces the specified
ChannelHandler with a new handler in this pipeline. |
<T extends ChannelHandler> |
DefaultChannelPipeline.replace(java.lang.Class<T> oldHandlerType,
java.lang.String newName,
ChannelHandler newHandler) |
<T extends ChannelHandler> |
ChannelPipeline.replace(java.lang.Class<T> oldHandlerType,
java.lang.String newName,
ChannelHandler newHandler)
Replaces the
ChannelHandler of the specified type with a new handler in this pipeline. |
ChannelHandler |
DefaultChannelPipeline.replace(java.lang.String oldName,
java.lang.String newName,
ChannelHandler newHandler) |
ChannelHandler |
ChannelPipeline.replace(java.lang.String oldName,
java.lang.String newName,
ChannelHandler newHandler)
Replaces the
ChannelHandler of the specified name with a new handler in this pipeline. |
限定符和类型 | 方法和说明 |
---|---|
ChannelHandlerContext |
DefaultChannelPipeline.context(java.lang.Class<? extends ChannelHandler> handlerType) |
ChannelHandlerContext |
ChannelPipeline.context(java.lang.Class<? extends ChannelHandler> handlerType)
Returns the context object of the
ChannelHandler of the
specified type in this pipeline. |
构造器和说明 |
---|
EmbeddedChannel(boolean register,
boolean hasDisconnect,
ChannelHandler... handlers)
Create a new instance with the pipeline initialized with the specified handlers.
|
EmbeddedChannel(boolean hasDisconnect,
ChannelConfig config,
ChannelHandler... handlers)
Create a new instance with the channel ID set to the given ID and the pipeline
initialized with the specified handlers.
|
EmbeddedChannel(boolean hasDisconnect,
ChannelHandler... handlers)
Create a new instance with the channel ID set to the given ID and the pipeline
initialized with the specified handlers.
|
EmbeddedChannel(ChannelHandler... handlers)
Create a new instance
|
限定符和类型 | 类和说明 |
---|---|
class |
DiscardClientHandler
Handles a client-side channel.
|
class |
DiscardServerHandler
Handles a server-side channel.
|
限定符和类型 | 类和说明 |
---|---|
class |
EchoClientHandler
Handler implementation for the echo client.
|
class |
EchoServerHandler
Handler implementation for the echo server.
|
限定符和类型 | 类和说明 |
---|---|
class |
BigIntegerDecoder
Decodes the binary representation of a
BigInteger prepended
with a magic number ('F' or 0x46) and a 32-bit integer length prefix into a
BigInteger instance. |
class |
FactorialClientHandler
Handler for a client-side channel.
|
class |
FactorialClientInitializer
Creates a newly configured
ChannelPipeline for a client-side channel. |
class |
FactorialServerHandler
Handler for a server-side channel.
|
class |
FactorialServerInitializer
Creates a newly configured
ChannelPipeline for a server-side channel. |
class |
NumberEncoder
Encodes a
Number into the binary representation prepended with
a magic number ('F' or 0x46) and a 32-bit length prefix. |
限定符和类型 | 类和说明 |
---|---|
class |
FileServerHandler |
限定符和类型 | 类和说明 |
---|---|
class |
HttpCorsServerInitializer
Please refer to the
CorsConfig javadocs for information about all the
configuration options available. |
class |
OkResponseHandler
A simple handler which will simple return a successful Http
response for any request.
|
限定符和类型 | 类和说明 |
---|---|
class |
HttpStaticFileServerHandler
A simple handler that serves incoming HTTP requests to send their respective
HTTP responses.
|
class |
HttpStaticFileServerInitializer |
限定符和类型 | 类和说明 |
---|---|
class |
HttpHelloWorldServerHandler |
class |
HttpHelloWorldServerInitializer |
限定符和类型 | 类和说明 |
---|---|
class |
HttpSnoopClientHandler |
class |
HttpSnoopClientInitializer |
class |
HttpSnoopServerHandler |
class |
HttpSnoopServerInitializer |
限定符和类型 | 类和说明 |
---|---|
class |
HttpUploadClientHandler
Handler that just dumps the contents of the response from the server
|
class |
HttpUploadClientInitializer |
class |
HttpUploadServerHandler |
class |
HttpUploadServerInitializer |
限定符和类型 | 类和说明 |
---|---|
class |
WebSocketServerHandler
Handles handshakes and messages
|
class |
WebSocketServerInitializer |
限定符和类型 | 类和说明 |
---|---|
class |
WebSocketClientHandler |
限定符和类型 | 类和说明 |
---|---|
class |
WebSocketFrameHandler
Echoes uppercase content of text frames.
|
class |
WebSocketIndexPageHandler
Outputs index page content.
|
限定符和类型 | 类和说明 |
---|---|
class |
LocalEchoClientHandler |
class |
LocalEchoServerHandler |
限定符和类型 | 类和说明 |
---|---|
class |
ObjectEchoClientHandler
Handler implementation for the object echo client.
|
class |
ObjectEchoServerHandler
Handles both client-side and server-side handler depending on which
constructor was called.
|
限定符和类型 | 类和说明 |
---|---|
class |
PortUnificationServerHandler
Manipulates the current pipeline dynamically to switch protocols or enable
SSL or GZIP.
|
限定符和类型 | 类和说明 |
---|---|
class |
HexDumpProxyBackendHandler |
class |
HexDumpProxyFrontendHandler |
class |
HexDumpProxyInitializer |
限定符和类型 | 类和说明 |
---|---|
class |
QuoteOfTheMomentClientHandler |
class |
QuoteOfTheMomentServerHandler |
限定符和类型 | 类和说明 |
---|---|
class |
RxtxClientHandler |
限定符和类型 | 类和说明 |
---|---|
class |
SctpEchoClientHandler
Handler implementation for the SCTP echo client.
|
class |
SctpEchoServerHandler
Handler implementation for the SCTP echo server.
|
限定符和类型 | 类和说明 |
---|---|
class |
SecureChatClientHandler
Handles a client-side channel.
|
class |
SecureChatClientInitializer
Creates a newly configured
ChannelPipeline for a new channel. |
class |
SecureChatServerHandler
Handles a server-side channel.
|
class |
SecureChatServerInitializer
Creates a newly configured
ChannelPipeline for a new channel. |
限定符和类型 | 类和说明 |
---|---|
class |
DirectClientHandler |
class |
RelayHandler |
class |
SocksServerConnectHandler |
class |
SocksServerHandler |
class |
SocksServerInitializer |
限定符和类型 | 类和说明 |
---|---|
class |
HttpResponseClientHandler
This is a modified version of
HttpSnoopClientHandler that uses a BlockingQueue to wait until an
HTTPResponse is received. |
class |
SpdyClientInitializer |
class |
SpdyClientStreamIdHandler
Adds a unique client stream ID to the SPDY header.
|
class |
SpdyFrameLogger
Logs SPDY frames for debugging purposes.
|
限定符和类型 | 类和说明 |
---|---|
class |
SpdyOrHttpHandler
Negotiates with the browser if SPDY or HTTP is going to be used.
|
class |
SpdyServerHandler
HTTP handler that responds with a "Hello World"
|
class |
SpdyServerInitializer
Sets up the Netty pipeline
|
限定符和类型 | 类和说明 |
---|---|
class |
TelnetClientHandler
Handles a client-side channel.
|
class |
TelnetClientInitializer
Creates a newly configured
ChannelPipeline for a new channel. |
class |
TelnetServerHandler
Handles a server-side channel.
|
class |
TelnetServerInitializer
Creates a newly configured
ChannelPipeline for a new channel. |
限定符和类型 | 类和说明 |
---|---|
class |
ByteEchoClientHandler
Handler implementation for the echo client.
|
class |
ByteEchoServerHandler
Handler implementation for the echo server.
|
限定符和类型 | 类和说明 |
---|---|
class |
MsgEchoClientHandler
Handler implementation for the echo client.
|
class |
MsgEchoServerHandler
Handler implementation for the echo server.
|
限定符和类型 | 类和说明 |
---|---|
class |
MsgEchoPeerHandler
Handler implementation for the echo peer.
|
限定符和类型 | 类和说明 |
---|---|
class |
ByteEchoPeerHandler
Handler implementation for the echo client.
|
限定符和类型 | 类和说明 |
---|---|
class |
UptimeClientHandler
Keep reconnecting to the server while printing out the current uptime and
connection attempt getStatus.
|
class |
UptimeServerHandler |
限定符和类型 | 类和说明 |
---|---|
class |
WorldClockClientHandler |
class |
WorldClockClientInitializer |
class |
WorldClockServerHandler |
class |
WorldClockServerInitializer |
限定符和类型 | 类和说明 |
---|---|
class |
ByteToMessageCodec<I>
A Codec for on-the-fly encoding/decoding of bytes to messages and vise-versa.
|
class |
ByteToMessageDecoder
ChannelInboundHandlerAdapter which decodes bytes in a stream-like fashion from one ByteBuf to an
other Message type. |
class |
DelimiterBasedFrameDecoder
A decoder that splits the received
ByteBuf s by one or more
delimiters. |
class |
FixedLengthFrameDecoder
A decoder that splits the received
ByteBuf s by the fixed number
of bytes. |
class |
LengthFieldBasedFrameDecoder
A decoder that splits the received
ByteBuf s dynamically by the
value of the length field in the message. |
class |
LengthFieldPrepender
An encoder that prepends the length of the message.
|
class |
LineBasedFrameDecoder
A decoder that splits the received
ByteBuf s on line endings. |
class |
MessageToByteEncoder<I>
ChannelOutboundHandlerAdapter which encodes message in a stream-like fashion from one message to an
ByteBuf . |
class |
MessageToMessageCodec<INBOUND_IN,OUTBOUND_IN>
A Codec for on-the-fly encoding/decoding of message.
|
class |
MessageToMessageDecoder<I>
ChannelInboundHandlerAdapter which decodes from one message to an other message. |
class |
MessageToMessageEncoder<I>
ChannelOutboundHandlerAdapter which encodes from one message to an other message
For example here is an implementation which decodes an Integer to an String . |
class |
ReplayingDecoder<S>
A specialized variation of
ByteToMessageDecoder which enables implementation
of a non-blocking decoder in the blocking I/O paradigm. |
限定符和类型 | 类和说明 |
---|---|
class |
Base64Decoder
|
class |
Base64Encoder
|
限定符和类型 | 类和说明 |
---|---|
class |
ByteArrayDecoder
Decodes a received
ByteBuf into an array of bytes. |
class |
ByteArrayEncoder
Encodes the requested array of bytes into a
ByteBuf . |
限定符和类型 | 类和说明 |
---|---|
class |
JdkZlibDecoder
Decompress a
ByteBuf using the inflate algorithm. |
class |
JdkZlibEncoder
Compresses a
ByteBuf using the deflate algorithm. |
class |
JZlibDecoder |
class |
JZlibEncoder
Compresses a
ByteBuf using the deflate algorithm. |
class |
SnappyFramedDecoder
Uncompresses a
ByteBuf encoded with the Snappy framing format. |
class |
SnappyFramedEncoder
Compresses a
ByteBuf using the Snappy framing format. |
class |
ZlibDecoder
Decompresses a
ByteBuf using the deflate algorithm. |
class |
ZlibEncoder
Compresses a
ByteBuf using the deflate algorithm. |
限定符和类型 | 类和说明 |
---|---|
class |
HAProxyMessageDecoder
Decodes an HAProxy proxy protocol header
|
限定符和类型 | 类和说明 |
---|---|
class |
HttpClientCodec
A combination of
HttpRequestEncoder and HttpResponseDecoder
which enables easier client side HTTP implementation. |
class |
HttpContentCompressor
Compresses an
HttpMessage and an HttpContent in gzip or
deflate encoding while respecting the "Accept-Encoding" header. |
class |
HttpContentDecoder
Decodes the content of the received
HttpRequest and HttpContent . |
class |
HttpContentDecompressor
|
class |
HttpContentEncoder
Encodes the content of the outbound
HttpResponse and HttpContent . |
class |
HttpObjectAggregator
A
ChannelHandler that aggregates an HttpMessage
and its following HttpContent s into a single FullHttpRequest
or FullHttpResponse (depending on if it used to handle requests or responses)
with no following HttpContent s. |
class |
HttpObjectDecoder
|
class |
HttpObjectEncoder<H extends HttpMessage>
|
class |
HttpRequestDecoder
|
class |
HttpRequestEncoder
|
class |
HttpResponseDecoder
|
class |
HttpResponseEncoder
|
class |
HttpServerCodec
A combination of
HttpRequestDecoder and HttpResponseEncoder
which enables easier server side HTTP implementation. |
class |
HttpServerKeepAliveHandler
HttpServerKeepAliveHandler helps close persistent connections when appropriate.
|
限定符和类型 | 类和说明 |
---|---|
class |
CorsHandler
Handles Cross Origin Resource Sharing (CORS) requests.
|
限定符和类型 | 接口和说明 |
---|---|
interface |
WebSocketFrameDecoder
Marker interface which all WebSocketFrame decoders need to implement.
|
interface |
WebSocketFrameEncoder
Marker interface which all WebSocketFrame encoders need to implement.
|
限定符和类型 | 类和说明 |
---|---|
class |
WebSocket00FrameDecoder
Decodes
ByteBuf s into WebSocketFrame s. |
class |
WebSocket00FrameEncoder
Encodes a
WebSocketFrame into a ByteBuf . |
class |
WebSocket07FrameDecoder
Decodes a web socket frame from wire protocol version 7 format.
|
class |
WebSocket07FrameEncoder
Encodes a web socket frame into wire protocol version 7 format.
|
class |
WebSocket08FrameDecoder
Decodes a web socket frame from wire protocol version 8 format.
|
class |
WebSocket08FrameEncoder
Encodes a web socket frame into wire protocol version 8 format.
|
class |
WebSocket13FrameDecoder
Decodes a web socket frame from wire protocol version 13 format.
|
class |
WebSocket13FrameEncoder
Encodes a web socket frame into wire protocol version 13 format.
|
class |
WebSocketClientProtocolHandler
This handler does all the heavy lifting for you to run a websocket client.
|
class |
WebSocketFrameAggregator
Handler that aggregate fragmented WebSocketFrame's.
|
class |
WebSocketServerProtocolHandler
This handler does all the heavy lifting for you to run a websocket server.
|
限定符和类型 | 类和说明 |
---|---|
class |
CompatibleMarshallingDecoder
|
class |
CompatibleMarshallingEncoder
MessageToByteEncoder implementation which uses JBoss Marshalling to marshal
an Object. |
class |
MarshallingDecoder
Decoder which MUST be used with
MarshallingEncoder . |
class |
MarshallingEncoder
MessageToByteEncoder implementation which uses JBoss Marshalling to marshal
an Object. |
限定符和类型 | 类和说明 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
class |
ProtobufDecoder
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
class |
ProtobufEncoder
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
class |
ProtobufVarint32FrameDecoder
A decoder that splits the received
ByteBuf s dynamically by the
value of the Google Protocol Buffers
Base
128 Varints integer length field in the message. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
class |
ProtobufVarint32LengthFieldPrepender
An encoder that prepends the the Google Protocol Buffers
io.netty.handler.codec.rtsp中ChannelHandler的使用
io.netty.handler.codec.sctp中ChannelHandler的使用
io.netty.handler.codec.serialization中ChannelHandler的使用
io.netty.handler.codec.socks中ChannelHandler的使用
io.netty.handler.codec.spdy中ChannelHandler的使用
io.netty.handler.codec.string中ChannelHandler的使用
io.netty.handler.flush中ChannelHandler的使用
io.netty.handler.ipfilter中ChannelHandler的使用
io.netty.handler.logging中ChannelHandler的使用
io.netty.handler.ssl中ChannelHandler的使用
io.netty.handler.ssl.ocsp中ChannelHandler的使用
io.netty.handler.stream中ChannelHandler的使用
io.netty.handler.timeout中ChannelHandler的使用
io.netty.handler.traffic中ChannelHandler的使用
|