HttpResponse response = client.execute(cmd);
int code = response.getStatusLine().getStatusCode();
credentials.checkCode(response,code,"COPY:" + container +":" + srcKey +":" + dstKey);
cmd.abort();
}
private static String bytesToHexString(byte[] bytes) {
StringBuilder sb = new StringBuilder(bytes.length * 2);
Formatter formatter = new Formatter(sb);