src/main/java/org/trellisldp/http/PartitionedLdpResource.java
/**
     * Perform a DELETE operation on an LDP Resource
     * @param req the request
     * @return the response
     */
Perform a DELETE operation on an LDP Resource
@param req the request
@return the response
Perform a DELETE operation on an LDP Resource @param req the request @return the response
@DELETE
    @Timed
    public Response deleteResource(@BeanParam final LdpRequest req) {
        final String baseUrl = partitions.get(req.getPartition());
        final IRI identifier = rdf.createIRI(TRELLIS_PREFIX + req.getPartition() + req.getPath());
        final DeleteHandler deleteHandler = new DeleteHandler(req, resourceService, baseUrl);
        return resourceService.get(identifier, MAX).map(deleteHandler::deleteResource)
            .orElseGet(() -> status(NOT_FOUND)).build();
    }
@ DELETE @ Timed public Response deleteResource ( @ BeanParam final LdpRequest req ) { final String baseUrl = partitions . get ( req . getPartition ( ) ) ; final IRI identifier = rdf . createIRI ( TRELLIS_PREFIX + req . getPartition ( ) + req . getPath ( ) ) ; final DeleteHandler deleteHandler = new DeleteHandler ( req , resourceService , baseUrl ) ; return resourceService . get ( identifier , MAX ) . map ( deleteHandler :: deleteResource ) . orElseGet ( ( ) -> status ( NOT_FOUND ) ) . build ( ) ; }
Perform a DELETE operation on an LDP Resource
 @param req the request
 @return the response
Perform a DELETE operation on an LDP Resource @param req the request @return the response