Class InvalidChunkTerminationException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class InvalidChunkTerminationException
    extends CorruptedFrameException
    Thrown when HTTP chunks could not be parsed, typically due to incorrect use of CR LF delimiters.

    RFC 9112 specifies that chunk bodies must be terminated in a CR LF pair, and that the delimiter must follow the given chunk-size number of octets in chunk-data.

    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

      • InvalidChunkTerminationException

        public InvalidChunkTerminationException()
      • InvalidChunkTerminationException

        public InvalidChunkTerminationException​(java.lang.String message,
                                                java.lang.Throwable cause)
      • InvalidChunkTerminationException

        public InvalidChunkTerminationException​(java.lang.String message)
      • InvalidChunkTerminationException

        public InvalidChunkTerminationException​(java.lang.Throwable cause)