Class FileUploadSizeException

    • Constructor Detail

      • FileUploadSizeException

        public FileUploadSizeException​(String message,
                                       long permitted,
                                       long actual)
        Constructs an instance.
        Parameters:
        message - The detail message (which is saved for later retrieval by the Throwable.getMessage() method)
        permitted - The requests size limit.
        actual - The actual values for the request.
    • Method Detail

      • getActualSize

        public long getActualSize()
        Gets the actual size of the request.
        Returns:
        The actual size of the request.
      • getPermitted

        public long getPermitted()
        Gets the limit size of the request.
        Returns:
        The limit size of the request.