public class UploadFileChunkRequest extends Object
| Constructor and Description |
|---|
UploadFileChunkRequest(UUID fileUploadID,
long fileOffset)
Create a new instance of a file chunk upload request.
|
UploadFileChunkRequest(UUID fileUploadID,
long fileOffset,
byte[] content)
Create a new instance of a file chunk upload request.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getContent()
Get the request payload.
|
long |
getFileOffset()
Get the file offset.
|
UUID |
getFileUploadID()
Get the file ID.
|
void |
setContent(byte[] content)
Set the request payload.
|
public UploadFileChunkRequest(UUID fileUploadID, long fileOffset)
fileUploadID - the ID of the filefileOffset - the offset at which to upload bytespublic UploadFileChunkRequest(UUID fileUploadID, long fileOffset, byte[] content)
fileUploadID - the ID of the filefileOffset - the offset at which to upload bytescontent - the payload bytes to uploadpublic UUID getFileUploadID()
public long getFileOffset()
public byte[] getContent()
public void setContent(byte[] content)
content - the content to uploadCopyright © 2022. All rights reserved.