示例#1
0
 /**
  * Returns the path on the server to which the browser returns this cookie. The cookie is visible
  * to all subpaths on the server.
  *
  * @return a <code>String</code> specifying a path that contains a servlet name, for example,
  *     <i>/catalog</i>
  * @see #setPath
  */
 public String getPath() {
   if (path == null && usingLazyCookieState) {
     path = unescape(lazyCookieState.getPath().toString(Charsets.ASCII_CHARSET));
   }
   return path;
 }