code: public void setHosts(final List<String> hosts) {
          this.hosts.clear();
          for (String host: hosts) {
              this.hosts.add(RegexpUtil.compilePattern(host));
          }
      }
docs: Set the patterns to use for selecting the hosts to apply the https -&gt; http mapping to.
  <ul>
  <li>If the host starts and ends with / then it is compiled as a regular expression</li>
  <li>Otherwise the hosts must exactly match</li>
  </ul>
  
  @param hosts hosts to match.  Can be regular expressions