src/main/java/org/trellisldp/http/MultipartUploader.java
/**
     * Abort an upload process
     * @param partition the partition
     * @param id the upload identifier
     */
Abort an upload process
@param partition the partition
@param id the upload identifier
Abort an upload process @param partition the partition @param id the upload identifier
@DELETE
    @Timed
    public void abortUpload(@PathParam("partition") final String partition,
            @PathParam("id") final String id) {
        binaryService.getResolverForPartition(partition)
            .filter(BinaryService.Resolver::supportsMultipartUpload)
            .filter(res -> res.uploadSessionExists(id))
            .orElseThrow(NotFoundException::new)
            .abortUpload(id);
    }
@ DELETE @ Timed public void abortUpload ( @ PathParam ( "partition" ) final String partition , @ PathParam ( "id" ) final String id ) { binaryService . getResolverForPartition ( partition ) . filter ( BinaryService . Resolver :: supportsMultipartUpload ) . filter ( res -> res . uploadSessionExists ( id ) ) . orElseThrow ( NotFoundException :: new ) . abortUpload ( id ) ; }
Abort an upload process
 @param partition the partition
 @param id the upload identifier
Abort an upload process @param partition the partition @param id the upload identifier