Package railo.runtime.util

Examples of railo.runtime.util.EnumerationWrapper


    return req.getAttribute(name);
  }

  public Enumeration getAttributeNames() {
    if(disconnected) {
      return new EnumerationWrapper(disconnectedData);
    }
    return req.getAttributeNames();
   
  }
View Full Code Here


    HashSet set=new HashSet();
    for(int i=0;i<headers.length;i++) {
      if(headers[i].getName().equalsIgnoreCase(name))
        set.add(Caster.toString(headers[i].getValue(),null));
    }
    return new EnumerationWrapper(set);
  }
View Full Code Here

  public Enumeration getHeaderNames() {
    HashSet set=new HashSet();
    for(int i=0;i<headers.length;i++) {
      set.add(headers[i].getName());
    }
    return new EnumerationWrapper(set);
  }
View Full Code Here

  public Enumeration getParameterNames() {
    HashSet set=new HashSet();
    for(int i=0;i<parameters.length;i++) {
      set.add(parameters[i].getName());
    }
    return new EnumerationWrapper(set);
  }
View Full Code Here

    this.locale=locale;
  }
 
  @Override
  public Enumeration getLocales() {
    return new EnumerationWrapper(Locale.getAvailableLocales());
  }
View Full Code Here

    return Caster.toString(parameters.get(key,null),null);
  }

  @Override
  public Enumeration getInitParameterNames() {
    return new EnumerationWrapper(parameters.keyIterator());
  }
View Full Code Here

TOP

Related Classes of railo.runtime.util.EnumerationWrapper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.