Package-level declarations
Types
Download files over HTTP, with support for proxies, .onion
addresses, HTTP Basic Auth, etc.
Download files over HTTP, with support for proxies, .onion
addresses, HTTP Basic Auth, etc.
HTTP POST a JSON string to the URL configured in the constructor.
Thrown if we tried to resume a download, but the current mirror server does not offer resuming.
Thrown if we tried to resume a download, but the current mirror server does not offer resuming.
Thrown when a file was not found. Catching this is useful when checking if a new index version exists and then falling back to an older version.
Thrown when a file was not found. Catching this is useful when checking if a new index version exists and then falling back to an older version.
Functions
Gets the InputStream for the given request as a DigestInputStream, so you can verify the SHA-256 hash. If you don't need to verify the hash, use getInputStream instead.