Class TransferEncodingNotAllowedException

  • All Implemented Interfaces:
    Serializable

    public final class TransferEncodingNotAllowedException
    extends io.netty.handler.codec.DecoderException
    Thrown by HttpObjectDecoder when an HTTP message uses a protocol version older than HTTP/1.1 and includes an Transfer-Encoding header.
    See Also:
    Serialized Form
    • Constructor Detail

      • TransferEncodingNotAllowedException

        public TransferEncodingNotAllowedException​(String message)
        Create a new instance with the given message.
        Parameters:
        message - The exception message.