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, getStatusCode
public GetObjectResponse(WebResponse response, java.nio.channels.WritableByteChannel destinationChannel, int bufferSize, java.lang.String objName) throws java.io.IOException
java.io.IOException
protected void processResponse() throws java.io.IOException
processResponse
in class AbstractResponse
java.io.IOException
protected void download(java.nio.channels.WritableByteChannel destinationChannel, int bufferSize, java.lang.String objName) throws java.io.IOException
java.io.IOException
public Metadata getMetadata()
public long getObjectSize()