code: private void dropDatabase() throws IOException, ClientProtocolException, URISyntaxException
      {
          HttpResponse delRes = null;
          try
          {
              URI uri = new URI(CouchDBConstants.PROTOCOL, null, httpHost.getHostName(), httpHost.getPort(),
                      CouchDBConstants.URL_SEPARATOR + databaseName.toLowerCase(), null, null);
              HttpDelete delete = new HttpDelete(uri);
              delRes = httpClient.execute(httpHost, delete, CouchDBUtils.getContext(httpHost));
          }
          finally
          {
              CouchDBUtils.closeContent(delRes);
          }
      }
docs: Drop database.
  
  @throws IOException
  Signals that an I/O exception has occurred.
  @throws ClientProtocolException
  the client protocol exception
  @throws URISyntaxException
  the URI syntax exception