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 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:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final long
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    InvalidLineSeparatorException(java.lang.String message)
     
    InvalidLineSeparatorException(java.lang.String message, java.lang.Throwable cause)
     
    InvalidLineSeparatorException(java.lang.Throwable cause)
     
  • 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
  • Field Details

  • Constructor Details

    • 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)