コード例 #1
0
 public Enumeration<String> getHeaders(String s) {
   String[] values = headerMap.get(s);
   if (values == null) {
     return null;
   }
   return Collections.enumeration(Arrays.asList(values));
 }
コード例 #2
0
 /** Returns an enumeration of the attribute names. */
 public Enumeration<String> getAttributeNames() {
   synchronized (_attributes) {
     return Collections.enumeration(_attributes.keySet());
   }
 }
コード例 #3
0
 /** Gets the init params */
 public Enumeration<String> getInitParameterNames() {
   return Collections.enumeration(_initParams.keySet());
 }
コード例 #4
0
 public Enumeration<Locale> getLocales() {
   return Collections.enumeration(locales);
 }
コード例 #5
0
 public Enumeration getAttributeNames() {
   return Collections.enumeration(attributeMap.keySet());
 }
コード例 #6
0
 public Enumeration<String> getHeaderNames() {
   return Collections.enumeration(headerMap.keySet());
 }
コード例 #7
0
 public Enumeration getParameterNames() {
   return Collections.enumeration(parameterMap.keySet());
 }
コード例 #8
0
 public Enumeration getInitParameterNames() {
   //noinspection unchecked
   return Collections.enumeration(map.keySet());
 }