@DELETE
    public Response deleteResource(@PathParam(JaxRxConstants.SYSTEM) final String system,
        @PathParam(JaxRxConstants.RESOURCE) final String resource, @Context final HttpHeaders headers) {

        final JaxRx impl = Systems.getInstance(system);
        final String info = impl.delete(new ResourcePath(resource, headers));
        return Response.ok().entity(info).build();
    }
@ DELETE public Response deleteResource ( @ PathParam ( JaxRxConstants . SYSTEM ) final String system , @ PathParam ( JaxRxConstants . RESOURCE ) final String resource , @ Context final HttpHeaders headers ) { final JaxRx impl = Systems . getInstance ( system ) ; final String info = impl . delete ( new ResourcePath ( resource , headers ) ) ; return Response . ok ( ) . entity ( info ) . build ( ) ; }
This method will be called when an HTTP client sends a DELETE request to
delete an existing resource.

@param system
The associated system with this request.
@param resource
The name of the existing resource that has to be deleted.
@param headers
HTTP header attributes.
@return The HTTP response code for this call.