Package org.apache.mina.filter.codec
package org.apache.mina.filter.codec
Filter implementations that helps you to implement complex protocols via 'codec' concept.
-
ClassDescriptionA
ProtocolDecoderOutputbased on queue.AProtocolEncoderOutputbased on queue.AProtocolDecoderthat cumulates the content of received buffers to a cumulative buffer to help users implement decoders.An exception that is thrown whenProtocolEncoderorProtocolDecodercannot understand or failed to validate data to process.ProvidesProtocolEncoderandProtocolDecoderwhich translates binary or protocol specific data into message object and vice versa.AnIoFilterwhich translates binary or protocol specific data into message objects and vice versa usingProtocolCodecFactory,ProtocolEncoder, orProtocolDecoder.Decodes binary or protocol-specific data into higher-level message objects.An abstractProtocolDecoderimplementation for those who don't needProtocolDecoder.finishDecode(IoSession, ProtocolDecoderOutput)norProtocolDecoder.dispose(IoSession)method.An exception that is thrown whenProtocolDecodercannot understand or failed to validate the specifiedIoBuffercontent.Callback forProtocolDecoderto generate decoded messages.Encodes higher-level message objects into binary or protocol-specific data.An abstractProtocolEncoderimplementation for those who don't have any resources to dispose.An exception that is thrown whenProtocolEncodercannot understand or failed to validate the specified message object.Callback forProtocolEncoderto generate encoded messages such asIoBuffers.A special exception that tells theProtocolDecodercan keep decoding even after this exception is thrown.AProtocolDecoderimplementation which decorates an existing decoder to be thread-safe.AProtocolEncoderimplementation which decorates an existing encoder to be thread-safe.