Class LZMAContentEncoding

    • Constructor Detail

      • LZMAContentEncoding

        public LZMAContentEncoding()
      • LZMAContentEncoding

        public LZMAContentEncoding​(EncodingFilter encodingFilter)
    • Method Detail

      • getLzmaAliases

        public static String[] getLzmaAliases()
      • wantDecode

        public boolean wantDecode​(HttpHeader header)
        Description copied from interface: ContentEncoding
        Method should implement the logic, which decides if HTTP packet with the specific HttpHeader should be decoded using this ContentEncoding.
        Specified by:
        wantDecode in interface ContentEncoding
        Parameters:
        header - HTTP packet header.
        Returns:
        true, if this ContentEncoding should be used to decode the HTTP packet, or false otherwise.
      • wantEncode

        public boolean wantEncode​(HttpHeader header)
        Description copied from interface: ContentEncoding
        Method should implement the logic, which decides if HTTP packet with the specific HttpHeader should be encoded using this ContentEncoding.
        Specified by:
        wantEncode in interface ContentEncoding
        Parameters:
        header - HTTP packet header.
        Returns:
        true, if this ContentEncoding should be used to encode the HTTP packet, or false otherwise.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object