Class HttpContentDecompressor

    • Constructor Detail

      • HttpContentDecompressor

        public HttpContentDecompressor()
    • Method Detail

      • newContentDecoder

        protected DecoderEmbedder<ChannelBuffer> newContentDecoder​(java.lang.String contentEncoding)
                                                            throws java.lang.Exception
        Description copied from class: HttpContentDecoder
        Returns a new DecoderEmbedder that decodes the HTTP message content encoded in the specified contentEncoding.
        Specified by:
        newContentDecoder in class HttpContentDecoder
        Parameters:
        contentEncoding - the value of the "Content-Encoding" header
        Returns:
        a new DecoderEmbedder if the specified encoding is supported. null otherwise (alternatively, you can throw an exception to block unknown encoding).
        Throws:
        java.lang.Exception