public String getScheme(Policy policy) {
    return policy == Policy.HTTPS_ONLY ? "https://" : "http://";
  }
Statics to get access to Http related configuration.
hbase-http/src/main/java/org/apache/hadoop/hbase/http/HttpConfig.java