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.
This is an interface for providing access to stored parameters for mirrors without adding additional dependencies. The expectation is that this will be used to store and retrieve data about mirror performance to use when ordering mirror for subsequent tests.
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.
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.