Class 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
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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)