code: public static <K, V> List<String> getAllAsString(Headers<K, V, ?> headers, K name) {
          final List<V> allNames = headers.getAll(name);
          return new AbstractList<String>() {
              @Override
              public String get(int index) {
                  V value = allNames.get(index);
                  return value != null ? value.toString() : null;
              }
  
              @Override
              public int size() {
                  return allNames.size();
              }
          };
      }
docs: {@link Headers#get(Object)} and convert each element of {@link List} to a {@link String}.
  @param name the name of the header to retrieve
  @return a {@link List} of header values or an empty {@link List} if no values are found.