/**
* The “PersistentGet” message is sent to the client to inform it about a
* persistent download, either in the client-local queue or in the global queue.
- *
+ *
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
*/
public class PersistentGet extends BaseMessage {
/**
* Creates a new “PersistentGet” message that wraps the received message.
- *
+ *
* @param receivedMessage
* The received message
*/
/**
* Returns the identifier of the request.
- *
+ *
* @return The identifier of the request
*/
public String getIdentifier() {
/**
* Returns the URI of the request.
- *
+ *
* @return The URI of the request
*/
public String getURI() {
/**
* Returns the verbosity of the request.
- *
+ *
* @return The verbosity of the request
*/
public Verbosity getVerbosity() {
/**
* Returns the return type of the request.
- *
+ *
* @return The return type of the request
*/
public ReturnType getReturnType() {
/**
* Returns the name of the file the data is downloaded to. This field will
* only be set if {@link #getReturnType()} is {@link ReturnType#disk}.
- *
+ *
* @return The name of the file the data is downloaded to
*/
public String getFilename() {
/**
* Returns the name of the temporary file. This field will only be set if
* {@link #getReturnType()} is {@link ReturnType#disk}.
- *
+ *
* @return The name of the temporary file
*/
public String getTempFilename() {
/**
* Returns the client token of the request.
- *
+ *
* @return The client token of the request
*/
public String getClientToken() {
/**
* Returns the priority of the request.
- *
+ *
* @return The priority of the request
*/
public Priority getPriority() {
/**
* Returns the persistence of the request.
- *
+ *
* @return The persistence of the request, or {@link Persistence#unknown} if
* the persistence could not be parsed
*/
/**
* Returns whether this request is on the global queue or on the
* client-local queue.
- *
+ *
* @return <code>true</code> if the request is on the global queue,
* <code>false</code> if the request is on the client-local queue
*/
/**
* Returns the maximum number of retries for a failed block.
- *
+ *
* @return The maximum number of retries for a failed block, <code>-1</code>
* for endless retries, <code>-2</code> if the number could not be
* parsed