Class InvalidLineSeparatorException

All Implemented Interfaces:
Serializable

public final class InvalidLineSeparatorException extends DecoderException
Thrown when strict line parsing is enabled, and HTTP start- and header field-lines are not separated 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:
  • Constructor Details

    • InvalidLineSeparatorException

      public InvalidLineSeparatorException()
    • InvalidLineSeparatorException

      public InvalidLineSeparatorException(String message, Throwable cause)
    • InvalidLineSeparatorException

      public InvalidLineSeparatorException(String message)
    • InvalidLineSeparatorException

      public InvalidLineSeparatorException(Throwable cause)