Class BufferLengthExceededException

All Implemented Interfaces:
Serializable

public final class BufferLengthExceededException extends HttpException
Exception thrown when attempting to buffer more than the configured limit.
Since:
4.5.0
Author:
Jonas Konrad
See Also:
  • Constructor Details

    • BufferLengthExceededException

      public BufferLengthExceededException(long advertisedLength, long receivedLength)
      Parameters:
      advertisedLength - The advertised length
      receivedLength - The received length
  • Method Details

    • getAdvertisedLength

      public long getAdvertisedLength()
      The maximum permitted length.
      Returns:
      The maximum permitted length
    • getReceivedLength

      public long getReceivedLength()
      The actual received length.
      Returns:
      The actual received length