public class HttpResumableInfo extends Object
Constructor and Description |
---|
HttpResumableInfo(int chunkNumber,
int chunkSize,
long totalSize,
String identifier,
String filename,
String relativePath) |
Modifier and Type | Method and Description |
---|---|
int |
getChunkNumber()
The index of the chunk in the current upload.
|
int |
getChunkSize()
The general chunk size.
|
String |
getFilename()
The original file name (since a bug in Firefox results in the file name
not being transmitted in chunk multipart posts).
|
String |
getIdentifier()
A unique identifier for the file contained in the request.
|
String |
getRelativePath()
The file's relative path when selecting a directory (defaults to file
name in all browsers except Chrome).
|
int |
getTotalChunks()
The total number of chunks.
|
long |
getTotalSize()
The total file size.
|
boolean |
isCompatible(HttpResumableInfo resumableInfo) |
HttpResumableInfo |
setChunkNumber(int chunkNumber) |
HttpResumableInfo |
setChunkSize(int chunkSize) |
HttpResumableInfo |
setFilename(String filename) |
HttpResumableInfo |
setIdentifier(String identifier) |
HttpResumableInfo |
setRelativePath(String relativePath) |
HttpResumableInfo |
setTotalChunks(int totalChunks) |
HttpResumableInfo |
setTotalSize(long totalSize) |
String |
toString() |
public final String getFilename()
public final HttpResumableInfo setFilename(String filename)
public final String getRelativePath()
public final HttpResumableInfo setRelativePath(String relativePath)
public final boolean isCompatible(HttpResumableInfo resumableInfo)
resumableInfo
- public final int getChunkSize()
public final HttpResumableInfo setChunkSize(int chunkSize)
public final long getTotalSize()
public final HttpResumableInfo setTotalSize(long totalSize)
public final String getIdentifier()
public final int getTotalChunks()
public final int getChunkNumber()
public final HttpResumableInfo setChunkNumber(int chunkNumber)
public final HttpResumableInfo setTotalChunks(int totalChunks)
public final HttpResumableInfo setIdentifier(String identifier)
Copyright © 2009–2022 Waarp. All rights reserved.