true
if and only if the specified message can be decoded by this codec.true
if the given message should be handled.true
if and only if the specified message can be encoded by this codec.true
if the given message should be handled.true
if and only if the specified message can be encoded by this codec.true
if the given message should be handled.ByteBuf
which will be used as argument of #encode(ChannelHandlerContext, I, ByteBuf)
.ByteBuf
that encodes and decodes to and from
Base64 notation.ByteBuf
into a Base64-encoded ByteBuf
.ByteBuf
into an array of bytes.ByteBuf
.ChannelInboundHandlerAdapter
which decodes bytes in a stream-like fashion from one ByteBuf
to an
other Message type.ByteBuf
s.ByteBuf
.ClassResolvers
as instance factoryZlibEncoder
and so finish the encoding.ZlibEncoder
and so finish the encoding.Exception
which is thrown by a codec.CompatibleMarshallingDecoder
.MessageToByteEncoder
implementation which uses JBoss Marshalling to marshal
an Object.CompatibleMarshallingEncoder
ByteBuf
(interoperability version).16
.ByteBuf
s by add them to a CompositeByteBuf
and so do no memory copy whenever possible.EncoderException
that is raised when compression failed.UnmarshallerProvider
which store a reference to the Unmarshaller
in the
ChannelHandlerContext
via the AttributeMap.attr(AttributeKey)
method.DecoderException
which is thrown when the received frame data could not be decoded by
an inbound handler.ByteBuf
s and return the ByteBuf
that holds the cumulated bytes.ByteBuf
to an other.ByteBuf
and return it.ByteBuf
and return it.ByteBuf
and return it.ByteBuf
and return it.ChannelHandlerContext
goes in-active.CodecException
which is thrown by a dencoder.DecoderException
that is raised when decompression failed.MarshallerProvider
which just create a new Marshaller
on ever DefaultMarshallerProvider.getMarshaller(ChannelHandlerContext)
call.UnmarshallerProvider
which will just create a new Unmarshaller
on every call to DefaultUnmarshallerProvider.getUnmarshaller(ChannelHandlerContext)
DefaultMarshallerProvider
ByteBuf
s by one or more
delimiters.DelimiterBasedFrameDecoder
.ProtocolDetectionResult
which holds the detected protocol.ProtocolDetectionResult.state()
returns ProtocolDetectionState.DETECTED
, otherwise null
.ByteBuf
.CodecException
which is thrown by an encoder.ByteBuf
s by the fixed number
of bytes.Marshaller
for the given ChannelHandlerContext
Unmarshaller
for the given ChannelHandlerContext
ByteToMessageDecoder
was removed from the actual context and it doesn't handle
events anymore.ProtocolDetectionResult
that signals the data was invalid for the protocol.ByteBuf
and vice versa.Message
into a ByteBuf
and vice versa.Serializable
object into a byte buffer and
vice versa.String
into a
ByteBuf
and vice versa.true
if and only if the end of the compressed stream
has been reached.true
if and only if the end of the compressed stream
has been reached.true
if and only if the end of the compressed stream
has been reached.true
then only one message is decoded on each
ByteToMessageDecoder.channelRead(ChannelHandlerContext, Object)
call.ByteBuf
using the inflate algorithm.ZlibWrapper.ZLIB
).ByteBuf
using the deflate algorithm.6
)
and the default wrapper (ZlibWrapper.ZLIB
).compressionLevel
and the default wrapper (ZlibWrapper.ZLIB
).6
)
and the specified wrapper.compressionLevel
and the specified wrapper.6
)
and the specified preset dictionary.compressionLevel
and the specified preset dictionary.ZlibWrapper.ZLIB
).ByteBuf
using the deflate algorithm.6
),
default window bits (15
), default memory level (8
),
and the default wrapper (ZlibWrapper.ZLIB
).compressionLevel
,
default window bits (15
), default memory level (8
),
and the default wrapper (ZlibWrapper.ZLIB
).6
),
default window bits (15
), default memory level (8
),
and the specified wrapper.compressionLevel
,
default window bits (15
), default memory level (8
),
and the specified wrapper.compressionLevel
,
the specified windowBits
, the specified memLevel
, and
the specified wrapper.6
),
default window bits (15
), default memory level (8
),
and the specified preset dictionary.compressionLevel
,
default window bits (15
), default memory level (8
),
and the specified preset dictionary.compressionLevel
,
the specified windowBits
, the specified memLevel
,
and the specified preset dictionary.ByteBuf
s dynamically by the
value of the length field in the message.ByteBuf
s on line endings.CR ('\r')
and LF ('\n')
delimiters, which could
be used for text-based line protocols.Marshaller
for the given ChannelHandlerContext
.MarshallingEncoder
.1048576
bytes.MessageToByteEncoder
implementation which uses JBoss Marshalling to marshal
an Object.ByteBuf
s by merge them into one ByteBuf
's, using memory copies.ChannelOutboundHandlerAdapter
which encodes message in a stream-like fashion from one message to an
ByteBuf
.ChannelInboundHandlerAdapter
which decodes from one message to an other message.ProtocolDetectionResult
that signals that more data is needed to detect the protocol.ObjectOutputStream
which wraps the specified
OutputStream
.NUL (0x00)
delimiter, which could be used for
Flash XML socket or any similar protocols.ByteBuf
s into Java
objects.1048576
bytes.ObjectInput
.ObjectInput
.ObjectInput
.ObjectInput
.ByteBuf
.ObjectOutput
with the estimated length of 512
bytes.ObjectOutput
.CodecException
which is thrown when a Channel
is closed unexpectedly before
the codec finishes handling the current message, such as missing response while waiting for a
request.ByteBuf
s dynamically by the
value of the Google Protocol Buffers
Base
128 Varints integer length field in the message.BufferedReader.readLine()
instead.ByteToMessageDecoder
which enables implementation
of a non-blocking decoder in the blocking I/O paradigm.null
).ByteToMessageDecoder.Cumulator
to use for cumulate the received ByteBuf
s.ByteBuf.discardSomeReadBytes()
are called and so free up memory.ByteToMessageDecoder.channelRead(ChannelHandlerContext, Object)
call.ByteBuf
encoded with the Snappy framing format.ByteBuf
using the Snappy framing format.ProtocolDetectionState
.ByteBuf
into a String
.String
into a ByteBuf
.UnmarshallerProvider
implementation which use a ThreadLocal
to store references
to Marshaller
instances.ThreadLocalMarshallerProvider
UnmarshallerProvider
implementation which use a ThreadLocal
to store references
to Unmarshaller
instances.ThreadLocalUnmarshallerProvider
DecoderException
which is thrown when the length of the frame
decoded is greater than the allowed maximum.Unmarshaller
for a ChannelHandlerContext
ZlibEncoder
and a new ZlibDecoder
.ByteBuf
using the deflate algorithm.ByteBuf
using the deflate algorithm.Copyright © 2008–2016 The Netty Project. All rights reserved.