Package org.apache.mina.filter.codec
package org.apache.mina.filter.codec
-
ClassDescriptionA
ProtocolDecoder
that cumulates the content of received buffers to a cumulative buffer to help users implement decoders.An exception that is thrown whenProtocolEncoder
orProtocolDecoder
cannot understand or failed to validate data to process.ProvidesProtocolEncoder
andProtocolDecoder
which translates binary or protocol specific data into message object and vice versa.AnIoFilter
which translates binary or protocol specific data into message object and vice versa usingProtocolCodecFactory
,ProtocolEncoder
, orProtocolDecoder
.Decodes binary or protocol-specific data into higher-level message objects.An abstractProtocolDecoder
implementation for those who don't needProtocolDecoder.finishDecode(IoSession, ProtocolDecoderOutput)
norProtocolDecoder.dispose(IoSession)
method.An exception that is thrown whenProtocolDecoder
cannot understand or failed to validate the specifiedByteBuffer
content.Callback forProtocolDecoder
to generate decoded messages.Encodes higher-level message objects into binary or protocol-specific data.An abstractProtocolEncoder
implementation for those who don't have any resources to dispose.An exception that is thrown whenProtocolEncoder
cannot understand or failed to validate the specified message object.Callback forProtocolEncoder
to generate encodedByteBuffer
s.AProtocolDecoder
implementation which decorates an existing decoder to be thread-safe.AProtocolEncoder
implementation which decorates an existing encoder to be thread-safe.