Class InvalidChunkTerminationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
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:
  • Field Summary

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

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

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