Package io.netty.handler.codec.http
Class InvalidLineSeparatorException
- 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.InvalidLineSeparatorException
-
- All Implemented Interfaces:
java.io.Serializable
public final class InvalidLineSeparatorException extends DecoderException
Thrown when strict line parsing is enabled, and HTTP start- and header field-lines are not seperated by CR LF octet pairs.Strict line parsing is enabled by default since Netty 4.1.124 and 4.2.4. This default can be overridden by setting the system property to
false.See RFC 9112 Section 2.1.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description InvalidLineSeparatorException()InvalidLineSeparatorException(java.lang.String message)InvalidLineSeparatorException(java.lang.String message, java.lang.Throwable cause)InvalidLineSeparatorException(java.lang.Throwable cause)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InvalidLineSeparatorException
public InvalidLineSeparatorException()
-
InvalidLineSeparatorException
public InvalidLineSeparatorException(java.lang.String message, java.lang.Throwable cause)
-
InvalidLineSeparatorException
public InvalidLineSeparatorException(java.lang.String message)
-
InvalidLineSeparatorException
public InvalidLineSeparatorException(java.lang.Throwable cause)
-
-