182183184185186187188189190191
return req.getAttribute(name); } public Enumeration getAttributeNames() { if(disconnected) { return new EnumerationWrapper(disconnectedData); } return req.getAttributeNames(); }
235236237238239240241
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); }
244245246247248249250
public Enumeration getHeaderNames() { HashSet set=new HashSet(); for(int i=0;i<headers.length;i++) { set.add(headers[i].getName()); } return new EnumerationWrapper(set); }
524525526527528529530
public Enumeration getParameterNames() { HashSet set=new HashSet(); for(int i=0;i<parameters.length;i++) { set.add(parameters[i].getName()); } return new EnumerationWrapper(set); }
613614615616617618619
this.locale=locale; } @Override public Enumeration getLocales() { return new EnumerationWrapper(Locale.getAvailableLocales()); }
61626364656667
return Caster.toString(parameters.get(key,null),null); } @Override public Enumeration getInitParameterNames() { return new EnumerationWrapper(parameters.keyIterator()); }