code: protected void doPost(String path) throws ClientException {
          this.readLock.lock();
          try {
              ClientResponse response = getResourceWrapper().rewritten(path, HttpMethod.POST)
                      .post(ClientResponse.class);
              errorIfStatusNotEqualTo(response, ClientResponse.Status.OK, ClientResponse.Status.NO_CONTENT);
              response.close();
          } catch (ClientHandlerException ex) {
              throw new ClientException(ClientResponse.Status.INTERNAL_SERVER_ERROR, ex.getMessage());
          } finally {
              this.readLock.unlock();
          }
      }
docs: Makes a POST call to the specified path.
  
  @param path the path to call.
  @throws ClientException if a status code other than 200 (OK) and 204 (No
  Content) is returned.