public class GetObjectSpectraS3Request extends AbstractRequest
Constructor and Description |
---|
GetObjectSpectraS3Request(java.lang.String objectName,
java.lang.String bucketId,
java.nio.channels.WritableByteChannel channel) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBucketId() |
java.util.Collection<Range> |
getByteRanges() |
java.nio.channels.WritableByteChannel |
getChannel() |
ChecksumType |
getChecksum() |
ChecksumType.Type |
getChecksumType() |
java.lang.String |
getContentType() |
java.lang.String |
getObjectName() |
java.lang.String |
getPath() |
HttpVerb |
getVerb() |
GetObjectSpectraS3Request |
withByteRanges(java.util.Collection<Range> byteRanges) |
GetObjectSpectraS3Request |
withByteRanges(Range... byteRanges)
Sets a Range of bytes that should be retrieved from the object in the
format: 'Range: bytes=[start]-[end],...'.
|
GetObjectSpectraS3Request |
withChecksum(ChecksumType checksum)
Set a MD5 checksum for the request.
|
GetObjectSpectraS3Request |
withChecksum(ChecksumType checksum,
ChecksumType.Type checksumType) |
getHeaders, getQueryParams, getSize, getStream, updateQueryParam
public GetObjectSpectraS3Request(java.lang.String objectName, java.lang.String bucketId, java.nio.channels.WritableByteChannel channel)
public GetObjectSpectraS3Request withChecksum(ChecksumType checksum)
public GetObjectSpectraS3Request withChecksum(ChecksumType checksum, ChecksumType.Type checksumType)
public ChecksumType getChecksum()
getChecksum
in interface Ds3Request
getChecksum
in class AbstractRequest
public ChecksumType.Type getChecksumType()
getChecksumType
in interface Ds3Request
getChecksumType
in class AbstractRequest
public GetObjectSpectraS3Request withByteRanges(Range... byteRanges)
public GetObjectSpectraS3Request withByteRanges(java.util.Collection<Range> byteRanges)
public HttpVerb getVerb()
public java.lang.String getPath()
public java.lang.String getContentType()
getContentType
in interface Ds3Request
getContentType
in class AbstractRequest
public java.lang.String getObjectName()
public java.nio.channels.WritableByteChannel getChannel()
public java.lang.String getBucketId()
public java.util.Collection<Range> getByteRanges()