code: protected void doDelete(String path, MultivaluedMap<String, String> headers) throws ClientException {
          this.readLock.lock();
          try {
              ClientResponse response = this.getResourceWrapper()
                      .rewritten(path, HttpMethod.DELETE)
                      .delete(ClientResponse.class);
              errorIfStatusNotEqualTo(response, ClientResponse.Status.OK, ClientResponse.Status.NO_CONTENT, ClientResponse.Status.ACCEPTED);
              response.close();
          } catch (ClientHandlerException ex) {
              throw new ClientException(ClientResponse.Status.INTERNAL_SERVER_ERROR, ex.getMessage());
          } finally {
              this.readLock.unlock();
          }
      }
docs: Deletes the resource specified by the path.
  
  @param headers any HTTP headers. Can be <code>null</code>.
  @param path the path to the resource. Cannot be <code>null</code>.
  
  @throws ClientException if a status code other than 204 (No Content), 202
  (Accepted), and 200 (OK) is returned.