Package | Description |
---|---|
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.protobuf |
Encoder and decoder which transform a
Google Protocol Buffers
Message and MessageNano into a
ByteBuf and vice versa. |
io.netty.handler.codec.string |
Encoder and decoder which transform a
String into a
ByteBuf and vice versa. |
Modifier and Type | Class and Description |
---|---|
class |
DatagramPacketEncoder<M>
An encoder that encodes the content in
AddressedEnvelope to DatagramPacket using
the specified message encoder. |
class |
LengthFieldPrepender
An encoder that prepends the length of the message.
|
Constructor and Description |
---|
DatagramPacketEncoder(MessageToMessageEncoder<? super M> encoder)
Create an encoder that encodes the content in
AddressedEnvelope to DatagramPacket using
the specified message encoder. |
Modifier and Type | Class and Description |
---|---|
class |
Base64Encoder
Encodes a
ByteBuf into a Base64-encoded ByteBuf . |
Modifier and Type | Class and Description |
---|---|
class |
ByteArrayEncoder
Encodes the requested array of bytes into a
ByteBuf . |
Modifier and Type | Class and Description |
---|---|
class |
ProtobufEncoder
|
class |
ProtobufEncoderNano
|
Modifier and Type | Class and Description |
---|---|
class |
LineEncoder
Apply a line separator to the requested
String and encode it into a ByteBuf . |
class |
StringEncoder
Encodes the requested
String into a ByteBuf . |
Copyright © 2008–2019 The Netty Project. All rights reserved.