code: public int getAllCookieValues(String name, List<String> list) {
          int added = 0;
          if (0 < this.parsedList.size() && null != name) {
              for (HttpCookie cookie : this.parsedList) {
                  if (name.equals(cookie.getName())) {
                      list.add(cookie.getValue());
                  }
              }
          }
          return added;
      }
docs: Find all instances of the input cookie name in the cache and append their
  values into the input list.
  
  @param name
  @param list
  @return int - number of items added