Package org.apache.mina.filter.codec
Filter implementations that helps you to implement complex protocols via 'codec' concept.
-
Interface Summary Interface Description ProtocolCodecFactory ProvidesProtocolEncoderandProtocolDecoderwhich 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 forProtocolDecoderto generate decoded messages.ProtocolEncoder Encodes higher-level message objects into binary or protocol-specific data.ProtocolEncoderOutput Callback forProtocolEncoderto generate encoded messages such asIoBuffers. -
Exception Summary Exception Description ProtocolCodecException An exception that is thrown whenProtocolEncoderorProtocolDecodercannot understand or failed to validate data to process.ProtocolDecoderException An exception that is thrown whenProtocolDecodercannot understand or failed to validate the specifiedIoBuffercontent.ProtocolEncoderException An exception that is thrown whenProtocolEncodercannot understand or failed to validate the specified message object.RecoverableProtocolDecoderException A special exception that tells theProtocolDecodercan keep decoding even after this exception is thrown.