177178179180181182183
return values==null || values.length==0 ? null : values[0]; } public Enumeration getHeaders(String header) { return new IteratorEnumeration( Arrays.asList( headers.get(header) ).iterator() ); }
182183184185186187188
return new IteratorEnumeration( Arrays.asList( headers.get(header) ).iterator() ); } public Enumeration getHeaderNames() { return new IteratorEnumeration( headers.keySet().iterator() ); }
294295296297298299300
return attributes.get(att); } public Enumeration getAttributeNames() { return new IteratorEnumeration( attributes.keySet().iterator() ); }
332333334335336337338
return values==null || values.length==0 ? null : values[0]; } public Enumeration getParameterNames() { return new IteratorEnumeration( parameters.keySet().iterator() ); }
281282283284285286287
return initParameters.get(param); } public Enumeration getInitParameterNames() { return new IteratorEnumeration(initParameters.keySet().iterator()); }
291292293294295296297
return attributes.get(att); } public Enumeration getAttributeNames() { return new IteratorEnumeration(attributes.keySet().iterator()); }
161162163164165166167168169170171
return new ResourceBundle() { @Override public Enumeration<String> getKeys() { return new IteratorEnumeration( Collections.EMPTY_LIST.iterator() ); } @Override protected Object handleGetObject(String key) { return null;
35363738394041
return null; } public Enumeration getInitParameterNames() { return new IteratorEnumeration( Collections.EMPTY_LIST.iterator() ); }
61626364656667
this.principalRoles = principalRoles; this.cookies = cookies; this.method = method; // The 1.2 RI NPEs if this header isn't present headers.put("Accept", new String[0]); locales = new IteratorEnumeration(new ArrayList().iterator()); }
9899100101102103104