code: @Override
    public Enumeration<String> getHeaders(String key)
    {
      ArrayList<String> values = new ArrayList<String>();
      
      int i = -1;
      while ((i = matchNextHeader(i + 1, key)) >= 0) {
        values.add(_headerValues[i].toString());
      }
  
      return Collections.enumeration(values);
    }
docs: Return an enumeration of headers matching a key.
  
  @param key the header key to match.
  @return the enumeration of the headers.