/**
* A “ClientGet” request is used for download files from the Freenet node.
- *
+ *
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
*/
public class ClientGet extends FcpMessage {
/**
* Creates a new “ClientGet” request.
- *
+ *
* @param uri
* The URI to get
* @param identifier
/**
* Creates a new “ClientGet” request.
- *
+ *
* @param uri
* The URI to get
* @param identifier
/**
* Sets whether the local data store should be ignored when searching for a
* key.
- *
+ *
* @param ignoreDataStore
* <code>true</code> to ignore the local data store,
* <code>false</code> to include it
/**
* Sets whether the search for the key should be restricted to the local
* data store only.
- *
+ *
* @param dsOnly
* <code>true</code> to restrict the search to the local data
* store, <code>false</code> to search on other nodes, too
/**
* Sets the verbosity of the request.
- *
+ *
* @param verbosity
* The verbosity of the request
*/
/**
* Sets the maximum size of the file to retrieve. If the file is larger than
* this size the request will fail!
- *
+ *
* @param maxSize
* The maximum size of the file to retrieve
*/
/**
* Sets the maximum size of temporary files created by the node. If a
* temporary file is larger than this size the request will fail!
- *
+ *
* @param maxTempSize
* The maximum size of temporary files
*/
/**
* The maximum number of retries in case a block can not be retrieved.
- *
+ *
* @param maxRetries
* The maximum number of retries for failed blocks,
* <code>-1</code> to try forever
/**
* Sets the priority of the request.
- *
+ *
* @param priority
* The priority of the request
*/
/**
* Sets the persistence of the request.
- *
+ *
* @param persistence
* The persistence of the request
*/
/**
* Sets the client token of the request.
- *
+ *
* @param clientToken
* The client token of the request
*/
/**
* Sets whether the request should be visible on the global queue.
- *
+ *
* @param global
* <code>true</code> to make the request visible on the global
* queue, <code>false</code> for client-local queue only
/**
* Sets whether to request the “binary blob” for a key.
- *
+ *
* @param binaryBlob
* <code>true</code> to request the binary blob,
* <code>false</code> to get the “real thing”
* Sets the allowed MIME types of the requested file. If the MIME type of
* the file does not match one of the given MIME types the request will
* fail!
- *
+ *
* @param allowedMimeTypes
* The allowed MIME types
*/
/**
* Sets the filename to download the file to. You should only call this
* method if your return type is {@link ReturnType#disk}!
- *
+ *
* @param filename
* The filename to download the file to
*/
/**
* Sets the name for the temporary file. You should only call this method if
* your return type is {@link ReturnType#disk}!
- *
+ *
* @param tempFilename
* The name of the temporary file
*/