Returns an enumeration of the headers for the named attribute.

@param name the header name
420060
public Enumeration<String> getHeaders(String name)
  {
    String value = header(name);
    
    if (value == null) {
      return Collections.emptyEnumeration();
    }

    ArrayList<String> list = new ArrayList<String>();
    list.add(value);

    return Collections.enumeration(list);
  }
1347335
public Enumeration<String> getElements() {
        AttributeNameEnumeration elements = new AttributeNameEnumeration();
        elements.addElement(REASON);

        return elements.elements();
    }
662457
@Nonnull
  public ICommonsList <String> getHeaders (@Nullable final String sName)
  {
    return new CommonsArrayList <> (m_aHeaders.get (_unifyHeaderName (sName)));
  }
556446
public String getHeaderValue( String name )
    {
        for ( Header header : headers ) {
            if ( header.getName().equals( name ) ) {
                return header.getValue();
            }
        }
        return null;
    }
75694
@Override
    public synchronized Enumeration getAttributeNames() {
        if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_CORE.isLoggable(Level.FINE)) {
            String s = _attributeNames + appNameAndIdString;
            LoggingUtil.SESSION_LOGGER_CORE.logp(Level.FINE, methodClassName, "getAttributeNames", s);
        }
        return _attributeNames.keys();
    }
516948
public List<String> getHeaders(String name) {
		Map<String, List<String>> fields = conn.getHeaderFields();
		if (fields == null) {
			return null;
		}
		return fields.get(name);
	}
993383
@Override
    public Enumeration<String> getAttributeNames() {
        if (isInvalid()) {
            throw new IllegalStateException("Session is invalid");
        }
        return Collections.enumeration(this.attributes.keySet());
    }
634103
public Enumeration<String> getElements() {
        AttributeNameEnumeration elements = new AttributeNameEnumeration();
        elements.addElement(DN_NAME);

        return (elements.elements());
    }
827323
public int getIntHeader(String name)
    {
        HeaderField f = getHeaderField(name);
        if (f != null)
        {
            return f.getIntValue();
        }
        else
        {
            return -1;
        }
    }
45696
public Attribute getAttribute(String name)
  {
    ArrayList<Attribute> attributeList = getAttributeList();
    
    for (int i = attributeList.size() - 1; i >= 0; i--) {
      Attribute attr = attributeList.get(i);

      if (attr.getName().equals(name))
        return attr;
    }

    return null;
  }
233697
public List<String> getHeaderStringValues(String name) {
    Object value = get(name.toLowerCase(Locale.US));
    if (value == null) {
      return Collections.emptyList();
    }
    Class<? extends Object> valueClass = value.getClass();
    if (value instanceof Iterable<?> || valueClass.isArray()) {
      List<String> values = new ArrayList<String>();
      for (Object repeatedValue : Types.iterableOf(value)) {
        values.add(toStringValue(repeatedValue));
      }
      return Collections.unmodifiableList(values);
    }
    return Collections.singletonList(toStringValue(value));
  }
1057750
public List<String> getHeaders(String name) {
        List<String> result = new ArrayList<String>();
        name += ":";
        for (String header : headers) {
            if (name.regionMatches(true, 0, header, 0, name.length())) {
                result.add(header.substring(name.length()).trim());
            }
        }
        return result;
    }
566869
public Enumeration<String> getElements() {
        AttributeNameEnumeration elements = new AttributeNameEnumeration();
        elements.addElement(NUMBER);

        return (elements.elements());
    }
218597
public Enumeration<String> getElements() {
        AttributeNameEnumeration elements = new AttributeNameEnumeration();
        elements.addElement(VERSION);

        return (elements.elements());
    }
1374231
@Nullable
  public String getHeader (@Nullable final String sName)
  {
    final ICommonsOrderedSet <String> aSet = m_aHeaders.get (_unifyHeaderName (sName));
    return aSet == null ? null : aSet.getFirst ();
  }
997570
public String header(Header name) {
		if(null == name) {
			return null;
		}
		return header(name.toString());
	}
795482
public Enumeration getAttributeNames() {
        Enumeration attrNameEnum;
        if (!_hasSecurityInfo) {
            attrNameEnum = super.getAttributeNames();
        } else {
            String[] attrNames = getValueNames();
            attrNameEnum = new ArrayEnumeration(attrNames);
        }
        return attrNameEnum;
    }