List of usage examples for java.util LinkedList LinkedList
public LinkedList()
From source file:de.zib.gndms.gndmc.utils.DefaultResponseExtractor.java
public static List<String> getCookies(final HttpHeaders headers) { final List<String> cookies = new LinkedList<String>(); for (String header : headers.keySet()) { if ("Set-Cookie".equals(header)) { for (String value : headers.get(header)) { cookies.add(value);//from ww w.j a v a2s . c o m } } } return cookies; }