public class GetObjectRequest
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
GetObjectRequest.Range |
Constructor and Description |
---|
GetObjectRequest(java.lang.String bucketName,
java.lang.String objectName,
long offset,
java.util.UUID jobId,
java.nio.channels.WritableByteChannel channel) |
GetObjectRequest(java.lang.String bucketName,
java.lang.String objectName,
java.nio.channels.WritableByteChannel channel)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBucketName() |
GetObjectRequest.Range |
getByteRange() |
Checksum |
getChecksum() |
org.apache.http.entity.ContentType |
getContentType() |
java.nio.channels.WritableByteChannel |
getDestinationChannel() |
java.util.Map<java.lang.String,java.lang.String> |
getHeaders() |
java.util.UUID |
getJobId() |
java.lang.String |
getObjectName() |
long |
getOffset() |
java.lang.String |
getPath() |
java.util.Map<java.lang.String,java.lang.String> |
getQueryParams() |
long |
getSize() |
java.io.InputStream |
getStream() |
HttpVerb |
getVerb() |
GetObjectRequest |
withByteRange(GetObjectRequest.Range byteRange)
Sets a Range of bytes that should be retrieved from the object.
|
@Deprecated public GetObjectRequest(java.lang.String bucketName, java.lang.String objectName, java.nio.channels.WritableByteChannel channel)
public GetObjectRequest(java.lang.String bucketName, java.lang.String objectName, long offset, java.util.UUID jobId, java.nio.channels.WritableByteChannel channel)
public long getOffset()
public GetObjectRequest withByteRange(GetObjectRequest.Range byteRange)
public java.lang.String getBucketName()
public java.lang.String getObjectName()
public GetObjectRequest.Range getByteRange()
public java.lang.String getPath()
public org.apache.http.entity.ContentType getContentType()
getContentType
in interface Ds3Request
public HttpVerb getVerb()
public java.util.UUID getJobId()
public java.nio.channels.WritableByteChannel getDestinationChannel()
public java.io.InputStream getStream()
getStream
in interface Ds3Request
public long getSize()
getSize
in interface Ds3Request
public Checksum getChecksum()
getChecksum
in interface Ds3Request
public final java.util.Map<java.lang.String,java.lang.String> getQueryParams()
getQueryParams
in interface Ds3Request
public final java.util.Map<java.lang.String,java.lang.String> getHeaders()
getHeaders
in interface Ds3Request