public List<String> getValuesList(HttpHeader header) {
        final List<String> list = new ArrayList<>();
        for (HttpField f : this)
            if (f.getHeader() == header)
                list.add(f.getValue());
        return list;
    }
public List < String > getValuesList ( HttpHeader header ) { final List < String > list = new ArrayList < > ( ) ; for ( HttpField f : this ) if ( f . getHeader ( ) == header ) list . add ( f . getValue ( ) ) ; return list ; }
Get multiple header of the same name

@param header the header
@return List the values