Class TooManyBytesToDrainException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.fusionauth.http.server.io.TooManyBytesToDrainException
All Implemented Interfaces:
Serializable

public class TooManyBytesToDrainException extends RuntimeException
Thrown when the server has attempted to drain the InputStream and the configured maximum number of bytes to drain have been exceeded.
Author:
Daniel DeGroff
See Also:
  • Constructor Details

    • TooManyBytesToDrainException

      public TooManyBytesToDrainException(long drainedBytes, long maximumDrainedBytes)
  • Method Details

    • getDrainedBytes

      public long getDrainedBytes()
    • getMaximumDrainedBytes

      public long getMaximumDrainedBytes()