示例#1
0
 /**
  * Returns the name of the cookie. The name cannot be changed after creation.
  *
  * @return a <code>String</code> specifying the cookie's name
  */
 public String getName() {
   if (name == null && usingLazyCookieState) {
     name = lazyCookieState.getName().toString(Charsets.ASCII_CHARSET);
   }
   return name;
 }