private HttpResponse executeDelete(String bucketName, String objectName, Map<String,String> queryParamMap)
    throws InvalidBucketNameException, NoSuchAlgorithmException, InsufficientDataException, IOException,
           InvalidKeyException, NoResponseException, XmlPullParserException, ErrorResponseException,
           InternalException {
    HttpResponse response = execute(Method.DELETE, getRegion(bucketName), bucketName, objectName, null,
                                    queryParamMap, null, 0);
    response.body().close();
    return response;
  }
private HttpResponse executeDelete ( String bucketName , String objectName , Map < String , String > queryParamMap ) throws InvalidBucketNameException , NoSuchAlgorithmException , InsufficientDataException , IOException , InvalidKeyException , NoResponseException , XmlPullParserException , ErrorResponseException , InternalException { HttpResponse response = execute ( Method . DELETE , getRegion ( bucketName ) , bucketName , objectName , null , queryParamMap , null , 0 ) ; response . body ( ) . close ( ) ; return response ; }
Executes DELETE method for given request parameters.

@param bucketName     Bucket name.
@param objectName     Object name in the bucket.
@param queryParamMap  Map of HTTP query parameters of the request.