public Response put(Cluster cluster, String path, String contentType, byte[] content,
    Header extraHdr) throws IOException {
    int cnt = extraHdr == null ? 1 : 2;
    Header[] headers = new Header[cnt];
    headers[0] = new BasicHeader("Content-Type", contentType);
    if (extraHdr != null) {
      headers[1] = extraHdr;
    }
    return put(cluster, path, headers, content);
  }
Send a PUT request
@param cluster     the cluster definition
@param path        the path or URI
@param contentType the content MIME type
@param content     the content bytes
@param extraHdr    additional Header to send
@return a Response object with response detail
@throws IOException for error
hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/Client.java