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