public class DownloadRequestStatus extends RequestStatus
| Modifier and Type | Field and Description |
|---|---|
boolean |
overriddenDataType |
| Modifier and Type | Method and Description |
|---|---|
boolean |
detectedDontCompress() |
InsertContext.CompatibilityMode[] |
getCompatibilityMode() |
Bucket |
getDataShadow() |
long |
getDataSize() |
java.io.File |
getDestFilename() |
FetchException.FetchExceptionMode |
getFailureCode() |
java.lang.String |
getFailureReason(boolean longDescription) |
java.lang.String |
getMIMEType() |
byte[] |
getOverriddenSplitfileCryptoKey() |
java.lang.String |
getPreferredFilename()
Get the preferred filename, from the URI, the filename, etc.
|
FreenetURI |
getURI()
Get the original URI for a fetch or the final URI for an insert.
|
boolean |
toTempSpace() |
clone, getFailedBlocks, getFatalyFailedBlocks, getFetchedBlocks, getIdentifier, getLastActivity, getLastFailure, getLastSuccess, getMinBlocks, getPreferredFilenameSafe, getPriority, getTotalBlocks, hasFinished, hasSucceeded, isPersistent, isPersistentForever, isStarted, isTotalFinalized, setPriority, setStarted, updateStatuspublic final boolean toTempSpace()
public FetchException.FetchExceptionMode getFailureCode()
public java.lang.String getMIMEType()
public long getDataSize()
getDataSize in class RequestStatuspublic java.io.File getDestFilename()
public InsertContext.CompatibilityMode[] getCompatibilityMode()
public byte[] getOverriddenSplitfileCryptoKey()
public FreenetURI getURI()
RequestStatusgetURI in class RequestStatuspublic java.lang.String getFailureReason(boolean longDescription)
getFailureReason in class RequestStatuspublic Bucket getDataShadow()
public boolean detectedDontCompress()
public java.lang.String getPreferredFilename()
RequestStatusgetPreferredFilename in class RequestStatus