code: public static NameVirtualHostHandler virtualHost(final HttpHandler hostHandler, String... hostnames) {
          NameVirtualHostHandler handler = new NameVirtualHostHandler();
          for (String host : hostnames) {
              handler.addHost(host, hostHandler);
          }
          return handler;
      }
docs: Creates a new virtual host handler that uses the provided handler as the root handler for the given hostnames.
  
  @param hostHandler The host handler
  @param hostnames   The host names
  @return A new virtual host handler