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
return values==null || values.length==0 ? null : values[0]; } public Enumeration getHeaders(String header) { return new IteratorEnumeration( Arrays.asList( headers.get(header) ).iterator() ); }
103104105106107108109
return new IteratorEnumeration( Arrays.asList( headers.get(header) ).iterator() ); } public Enumeration getHeaderNames() { return new IteratorEnumeration( headers.keySet().iterator() ); }
220221222223224225226
return attributes.get(att); } public Enumeration getAttributeNames() { return new IteratorEnumeration( attributes.keySet().iterator() ); }
262263264265266267268
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()); }
81828384858687
return getAttribute(att); } public Enumeration getAttributeNames() { return new IteratorEnumeration( attributes.keySet().iterator() ); }
83848586878889
141142143144145146147