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:
java.io.Serializable
public final class TransferEncodingNotAllowedException extends DecoderException
Thrown byHttpObjectDecoderwhen an HTTP message uses a protocol version older thanHTTP/1.1and includes anTransfer-Encodingheader.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description TransferEncodingNotAllowedException(java.lang.String message)Create a new instance with the given message.privateTransferEncodingNotAllowedException(java.lang.String message, boolean shared)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static TransferEncodingNotAllowedExceptionnewStatic(java.lang.String message, java.lang.Class<?> clazz, java.lang.String method)
-
-
-
Constructor Detail
-
TransferEncodingNotAllowedException
public TransferEncodingNotAllowedException(java.lang.String message)
Create a new instance with the given message.- Parameters:
message- The exception message.
-
TransferEncodingNotAllowedException
private TransferEncodingNotAllowedException(java.lang.String message, boolean shared)
-
-
Method Detail
-
newStatic
static TransferEncodingNotAllowedException newStatic(java.lang.String message, java.lang.Class<?> clazz, java.lang.String method)
-
-