code: public void configureWelcomeFiles(List<String> welcomePages) {
  		this.welcomePages = welcomePages;
  		((ResourceHandler) handler).setWelcomeFiles();
  		((ResourceHandler) handler).addWelcomeFiles(welcomePages.toArray(new String[welcomePages.size()]));
  	}
docs: Reconfigures default welcome pages with ones provided externally
  @param welcomePages