public ListMultipartUploadsResponse listMultipartUploads ( ListMultipartUploadsRequest request ) { checkNotNull ( request , "request should not be null." ) ; InternalRequest internalRequest = this . createRequest ( request , HttpMethodName . GET ) ; internalRequest . addParameter ( "uploads" , null ) ; String keyMarker = request . getKeyMarker ( ) ; if ( keyMarker != null ) { internalRequest . addParameter ( "keyMarker" , keyMarker ) ; } int maxUploads = request . getMaxUploads ( ) ; if ( maxUploads >= 0 ) { internalRequest . addParameter ( "maxUploads" , String . valueOf ( maxUploads ) ) ; } String delimiter = request . getDelimiter ( ) ; if ( delimiter != null ) { internalRequest . addParameter ( "delimiter" , delimiter ) ; } String prefix = request . getPrefix ( ) ; if ( prefix != null ) { internalRequest . addParameter ( "prefix" , prefix ) ; } ListMultipartUploadsResponse response = this . invokeHttpClient ( internalRequest , ListMultipartUploadsResponse . class ) ; response . setBucketName ( request . getBucketName ( ) ) ; return response ; }
Lists in - progress multipart uploads . An in - progress multipart upload is a multipart upload that has been initiated using the InitiateMultipartUpload request but has not yet been completed or aborted .