/**
  * Return all values for the given header as a List of value objects.
  *
  * @param name the name of the header
  * @return the associated header values, or an empty List if none
  */
 public List<Object> getHeaderValues(String name) {
   HeaderValueHolder header = HeaderValueHolder.getByName(this.headers, name);
   if (header != null) {
     return header.getValues();
   } else {
     return Collections.emptyList();
   }
 }
 @Override
 public Enumeration getHeaders(String name) {
   HeaderValueHolder header = HeaderValueHolder.getByName(this.headers, name);
   return Collections.enumeration(header != null ? header.getValues() : Collections.EMPTY_LIST);
 }