Package io.netty.handler.codec.http
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
public final class TransferEncodingNotAllowedException extends io.netty.handler.codec.DecoderExceptionThrown byHttpObjectDecoderwhen an HTTP message uses a protocol version older thanHTTP/1.1and includes anTransfer-Encodingheader.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TransferEncodingNotAllowedException(String message)Create a new instance with the given message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
TransferEncodingNotAllowedException
public TransferEncodingNotAllowedException(String message)
Create a new instance with the given message.- Parameters:
message- The exception message.
-
-