public void addWelcomeFile(String s) { // user specified at least one user welcome file, remove the system // files if (s == null) return; s = s.trim(); if (s.length() == 0) return; if (expectUserWelcomeFiles) { removeWelcomeFiles(); expectUserWelcomeFiles = false; } welcomeFiles.addElement(s); }
public Enumeration getHostAliases() { return vhostAliases.elements(); }
public Enumeration getWelcomeFiles() { return welcomeFiles.elements(); }
/** * Virtual host support - this context will be part of a virtual host with the specified name. You * should set all the aliases. XXX Not implemented */ public void addHostAlias(String alias) { vhostAliases.addElement(alias); }