@Override public Cookie getCookie(final String name) { for (final javax.servlet.http.Cookie c : req.getCookies()) { if (c.getName().equals(name)) return new BXServletCookie(c); } return null; }
@Override public List<Cookie> getCookies() { final List<Cookie> list = new ArrayList<>(); for (final javax.servlet.http.Cookie c : req.getCookies()) list.add(new BXServletCookie(c)); return list; }