Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 public Enumeration getHostAliases() {
   return vhostAliases.elements();
 }
Exemplo n.º 3
0
 public Enumeration getWelcomeFiles() {
   return welcomeFiles.elements();
 }
Exemplo n.º 4
0
 /**
  * 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);
 }