Module bus.http

Class Downloads.Failure

java.lang.Object
org.miaixz.bus.http.plugin.httpv.Downloads.Failure
Enclosing class:
Downloads

public class Downloads.Failure extends Object
Encapsulates information about a download failure.
  • Method Details

    • getFile

      public File getFile()
      Returns:
      The target download file.
    • getDoneBytes

      public long getDoneBytes()
      Returns:
      The number of bytes successfully downloaded before the failure.
    • getException

      public IOException getException()
      Returns:
      The exception that caused the failure.