Package | Description |
---|---|
io.netty.channel |
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
|
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.http |
Encoder, decoder and their related message types for HTTP.
|
io.netty.handler.codec.http.websocketx |
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
|
io.netty.handler.codec.protobuf |
Encoder and decoder which transform a
Google Protocol Buffers
Message into a ByteBuf
and vice versa. |
io.netty.handler.codec.sctp |
Decoder and encoders to manage message completion and multi-streaming codec in SCTP/IP.
|
io.netty.handler.codec.spdy |
Encoder, decoder, session handler and their related message types for the SPDY protocol.
|
io.netty.handler.codec.string | |
io.netty.handler.logging |
Logs a
io.netty.channel.ChannelEvent for debugging purpose. |
Modifier and Type | Class and Description |
---|---|
class |
ChannelInboundMessageHandlerAdapter<I>
ChannelHandler which handles inbound messages of a specific type. |
Modifier and Type | Class and Description |
---|---|
class |
MessageToMessageCodec<INBOUND_IN,OUTBOUND_IN>
A Codec for on-the-fly encoding/decoding of message.
|
class |
MessageToMessageDecoder<I>
ChannelInboundMessageHandler which decodes from one message to an other message
For example here is an implementation which decodes a String to an Integer which represent
the length of the String . |
Modifier and Type | Class and Description |
---|---|
class |
Base64Decoder
|
Modifier and Type | Class and Description |
---|---|
class |
ByteArrayDecoder
Decodes a received
ByteBuf into an array of bytes. |
Modifier and Type | Class and Description |
---|---|
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 HttpMessage with
no following HttpContent s. |
Modifier and Type | Class and Description |
---|---|
class |
WebSocketServerProtocolHandler
This handler does all the heavy lifting for you to run a websocket server.
|
class |
WebSocketServerProtocolHandshakeHandler
Handles the HTTP handshake (the HTTP Upgrade request) for
WebSocketServerProtocolHandler . |
Modifier and Type | Class and Description |
---|---|
class |
ProtobufDecoder
|
Modifier and Type | Class and Description |
---|---|
class |
SctpInboundByteStreamHandler
A ChannelHandler which receives
SctpMessage s which belong to a application protocol form a specific
SCTP Stream and decode it as ByteBuf . |
class |
SctpMessageCompletionHandler
ChannelInboundMessageHandlerAdapter which will take care of handle fragmented SctpMessage s, so
only complete SctpMessage s will be forwarded to the next
ChannelInboundMessageHandler . |
class |
SctpMessageToMessageDecoder |
Modifier and Type | Class and Description |
---|---|
class |
SpdyHttpCodec
A combination of
SpdyHttpDecoder and SpdyHttpEncoder |
class |
SpdyHttpDecoder
Decodes
SpdySynStreamFrame s, SpdySynReplyFrame s,
and SpdyDataFrame s into FullHttpRequest s and FullHttpResponse s. |
class |
SpdyHttpResponseStreamIdHandler
MessageToMessageCodec that takes care of adding the right SpdyHttpHeaders.Names.STREAM_ID to the
HttpMessage if one is not present. |
class |
SpdySessionHandler
Manages streams within a SPDY session.
|
Modifier and Type | Method and Description |
---|---|
protected abstract ChannelInboundMessageHandler<?> |
SpdyOrHttpChooser.createHttpRequestHandlerForHttp()
Create the
ChannelInboundMessageHandler that is responsible for handling the http requests
when the SpdyOrHttpChooser.SelectedProtocol was SpdyOrHttpChooser.SelectedProtocol.HTTP_1_0 or
SpdyOrHttpChooser.SelectedProtocol.HTTP_1_1 |
protected ChannelInboundMessageHandler<?> |
SpdyOrHttpChooser.createHttpRequestHandlerForSpdy()
Create the
ChannelInboundMessageHandler that is responsible for handling the http responses
when the SpdyOrHttpChooser.SelectedProtocol was SpdyOrHttpChooser.SelectedProtocol.SPDY_2 or
SpdyOrHttpChooser.SelectedProtocol.SPDY_3 . |
Modifier and Type | Class and Description |
---|---|
class |
StringDecoder
|
Modifier and Type | Class and Description |
---|---|
class |
MessageLoggingHandler |
Copyright © 2008-2013 The Netty Project. All Rights Reserved.