Beispiel #1
0
 @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;
 }
Beispiel #2
0
 @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;
 }