public class GetObjectResponse extends AbstractResponse
UTF8| Constructor and Description |
|---|
GetObjectResponse(WebResponse response,
java.nio.channels.WritableByteChannel destinationChannel,
int bufferSize,
java.lang.String objName) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
download(java.nio.channels.WritableByteChannel destinationChannel,
int bufferSize,
java.lang.String objName) |
Metadata |
getMetadata() |
long |
getObjectSize() |
protected void |
processResponse() |
checkStatusCode, getChecksum, getChecksumType, getFirstHeaderValue, getResponse, getSizeFromHeaders, getStatusCodepublic GetObjectResponse(WebResponse response, java.nio.channels.WritableByteChannel destinationChannel, int bufferSize, java.lang.String objName) throws java.io.IOException
java.io.IOExceptionprotected void processResponse()
throws java.io.IOException
processResponse in class AbstractResponsejava.io.IOExceptionprotected void download(java.nio.channels.WritableByteChannel destinationChannel,
int bufferSize,
java.lang.String objName)
throws java.io.IOException
java.io.IOExceptionpublic Metadata getMetadata()
public long getObjectSize()