public AmazonWebServiceResponse<ObjectMetadata> handle(HttpResponse response) throws Exception {
        ObjectMetadata metadata = new ObjectMetadata();
        populateObjectMetadata(response, metadata);

        AmazonWebServiceResponse<ObjectMetadata> awsResponse = parseResponseMetadata(response);
        awsResponse.setResult(metadata);
        return awsResponse;
    }
@see com.amazonaws.http.HttpResponseHandler#handle(com.amazonaws.http.HttpResponse)
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/internal/S3MetadataResponseHandler.java