예제 #1
0
 protected void setCookie(Cookie cookie) {
   CookieProvider cookieProvider = this.cookieProvider;
   if (cookieProvider != null) cookieProvider.setCookie(cookie);
 }
예제 #2
0
 protected Cookie getCookie(String name) {
   CookieProvider cookieProvider = this.cookieProvider;
   if (cookieProvider != null) return cookieProvider.getCookie(name);
   return null;
 }