Class CompressionExtension

  • All Implemented Interfaces:
    IExtension

    public abstract class CompressionExtension
    extends DefaultExtension
    Implementation for a compression extension specified by https://tools.ietf.org/html/rfc7692
    Since:
    1.3.5
    • Constructor Detail

      • CompressionExtension

        public CompressionExtension()
    • Method Detail

      • isFrameValid

        public void isFrameValid​(Framedata inputFrame)
                          throws InvalidDataException
        Description copied from interface: IExtension
        Check if the received frame is correctly implemented by the other endpoint and there are no specification errors (like wrongly set RSV)
        Specified by:
        isFrameValid in interface IExtension
        Overrides:
        isFrameValid in class DefaultExtension
        Parameters:
        inputFrame - the received frame
        Throws:
        InvalidDataException - Throw InvalidDataException if the received frame is not correctly implementing the specification for the specific extension