class Cookies {

    public List<HttpCookie> getAll() {
        List<HttpCookie> cookieList = new ArrayList<>();
        List<Header> cookieHeaders = getHeader(HttpHeaders.COOKIE);
        cookieHeaders.forEach(h -> cookieList.addAll(getAllCookiesFromHeader(h)));
        return cookieList;
    }

    private  Cookies(HttpRequest request);

}