Class TransferEncodingNotAllowedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.netty.handler.codec.CodecException
io.netty.handler.codec.DecoderException
io.netty.handler.codec.http.TransferEncodingNotAllowedException
- All Implemented Interfaces:
Serializable
Thrown by
HttpObjectDecoder when an HTTP message uses a protocol version older than HTTP/1.1
and includes an Transfer-Encoding header.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a new instance with the given message. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TransferEncodingNotAllowedException
Create a new instance with the given message.- Parameters:
message- The exception message.
-