Interface DownloadResultArgs


  • public interface DownloadResultArgs
    Set of additional values that are passed to DownloadWithParametersCompletionHandler.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.net.URL getActualLocationURL()
      New target URL if redirection happens.
      java.lang.String getETag()
      Get value of HTTP 1.1 entity tag returned by server.
      boolean isMovedPermanently()
      Indicates whether all of the redirections in the redirection chain are permanent.
      boolean isNotModified()
      Get a boolean value indicating whether the data was not modified.
    • Method Detail

      • getETag

        java.lang.String getETag()
        Get value of HTTP 1.1 entity tag returned by server.
        Returns:
        the HTTP 1.1 entity tag returned by server.
      • isNotModified

        boolean isNotModified()
        Get a boolean value indicating whether the data was not modified. It is calculated by server based on the ETag passed in the optional parameters.
        Returns:
        True if the data was not modified.
      • getActualLocationURL

        java.net.URL getActualLocationURL()
        New target URL if redirection happens. Contains the last URL in redirection chain.
        Returns:
        new target URL.
      • isMovedPermanently

        boolean isMovedPermanently()
        Indicates whether all of the redirections in the redirection chain are permanent.
        Returns:
        True if all of the redirections are permanent