亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? cookie.java

?? 高性能分詞算法
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
    }    /**     * Returns the version of the cookie specification to which this     * cookie conforms.     *     * @return the version of the cookie.     *      * @see #setVersion(int)     *     */    public int getVersion() {        return cookieVersion;    }    /**     * Sets the version of the cookie specification to which this     * cookie conforms.      *     * @param version the version of the cookie.     *      * @see #getVersion     */    public void setVersion(int version) {        cookieVersion = version;    }    /**     * Returns true if this cookie has expired.     *      * @return <tt>true</tt> if the cookie has expired.     */    public boolean isExpired() {        return (cookieExpiryDate != null              && cookieExpiryDate.getTime() <= System.currentTimeMillis());    }    /**     * Returns true if this cookie has expired according to the time passed in.     *      * @param now The current time.     *      * @return <tt>true</tt> if the cookie expired.     */    public boolean isExpired(Date now) {        return (cookieExpiryDate != null              && cookieExpiryDate.getTime() <= now.getTime());    }    /**     * Indicates whether the cookie had a path specified in a      * path attribute of the <tt>Set-Cookie</tt> header. This value     * is important for generating the <tt>Cookie</tt> header because      * some cookie specifications require that the <tt>Cookie</tt> header      * should only include a path attribute if the cookie's path      * was specified in the <tt>Set-Cookie</tt> header.     *     * @param value <tt>true</tt> if the cookie's path was explicitly      * set, <tt>false</tt> otherwise.     *      * @see #isPathAttributeSpecified     */    public void setPathAttributeSpecified(boolean value) {        hasPathAttribute = value;    }    /**     * Returns <tt>true</tt> if cookie's path was set via a path attribute     * in the <tt>Set-Cookie</tt> header.     *     * @return value <tt>true</tt> if the cookie's path was explicitly      * set, <tt>false</tt> otherwise.     *      * @see #setPathAttributeSpecified     */    public boolean isPathAttributeSpecified() {        return hasPathAttribute;    }    /**     * Indicates whether the cookie had a domain specified in a      * domain attribute of the <tt>Set-Cookie</tt> header. This value     * is important for generating the <tt>Cookie</tt> header because      * some cookie specifications require that the <tt>Cookie</tt> header      * should only include a domain attribute if the cookie's domain      * was specified in the <tt>Set-Cookie</tt> header.     *     * @param value <tt>true</tt> if the cookie's domain was explicitly      * set, <tt>false</tt> otherwise.     *     * @see #isDomainAttributeSpecified     */    public void setDomainAttributeSpecified(boolean value) {        hasDomainAttribute = value;    }    /**     * Returns <tt>true</tt> if cookie's domain was set via a domain      * attribute in the <tt>Set-Cookie</tt> header.     *     * @return value <tt>true</tt> if the cookie's domain was explicitly      * set, <tt>false</tt> otherwise.     *     * @see #setDomainAttributeSpecified     */    public boolean isDomainAttributeSpecified() {        return hasDomainAttribute;    }    /**     * Returns a hash code in keeping with the     * {@link Object#hashCode} general hashCode contract.     * @return A hash code     */    public int hashCode() {        int hash = LangUtils.HASH_SEED;        hash = LangUtils.hashCode(hash, this.getName());        hash = LangUtils.hashCode(hash, this.cookieDomain);        hash = LangUtils.hashCode(hash, this.cookiePath);        return hash;    }    /**     * Two cookies are equal if the name, path and domain match.     * @param obj The object to compare against.     * @return true if the two objects are equal.     */    public boolean equals(Object obj) {        if (obj == null) return false;        if (this == obj) return true;        if (obj instanceof Cookie) {            Cookie that = (Cookie) obj;            return LangUtils.equals(this.getName(), that.getName())                  && LangUtils.equals(this.cookieDomain, that.cookieDomain)                  && LangUtils.equals(this.cookiePath, that.cookiePath);        } else {            return false;        }    }    /**     * Return a textual representation of the cookie.     *      * @return string.     */    public String toExternalForm() {        CookieSpec spec = null;        if (getVersion() > 0) {            spec = CookiePolicy.getDefaultSpec();         } else {            spec = CookiePolicy.getCookieSpec(CookiePolicy.NETSCAPE);         }        return spec.formatCookie(this);     }    /**     * <p>Compares two cookies to determine order for cookie header.</p>     * <p>Most specific should be first. </p>     * <p>This method is implemented so a cookie can be used as a comparator for     * a SortedSet of cookies. Specifically it's used above in the      * createCookieHeader method.</p>     * @param o1 The first object to be compared     * @param o2 The second object to be compared     * @return See {@link java.util.Comparator#compare(Object,Object)}     */    public int compare(Object o1, Object o2) {        LOG.trace("enter Cookie.compare(Object, Object)");        if (!(o1 instanceof Cookie)) {            throw new ClassCastException(o1.getClass().getName());        }        if (!(o2 instanceof Cookie)) {            throw new ClassCastException(o2.getClass().getName());        }        Cookie c1 = (Cookie) o1;        Cookie c2 = (Cookie) o2;        if (c1.getPath() == null && c2.getPath() == null) {            return 0;        } else if (c1.getPath() == null) {            // null is assumed to be "/"            if (c2.getPath().equals(CookieSpec.PATH_DELIM)) {                return 0;            } else {                return -1;            }        } else if (c2.getPath() == null) {            // null is assumed to be "/"            if (c1.getPath().equals(CookieSpec.PATH_DELIM)) {                return 0;            } else {                return 1;            }        } else {            return STRING_COLLATOR.compare(c1.getPath(), c2.getPath());        }    }    /**     * Return a textual representation of the cookie.     *      * @return string.     *      * @see #toExternalForm     */    public String toString() {        return toExternalForm();    }// BEGIN IA/HERITRIX ADDITION    /**     * Create a 'sort key' for this Cookie that will cause it to sort      * alongside other Cookies of the same domain (with or without leading     * '.'). This helps cookie-match checks consider only narrow set of     * possible matches, rather than all cookies.      *      * Only two cookies that are equals() (same domain, path, name) will have     * the same sort key. The '\1' separator character is important in      * conjunction with Cookie.DOMAIN+OVERBOUNDS, allowing keys based on the     * domain plus an extension to define the relevant range in a SortedMap.      * @return String sort key for this cookie     */    public String getSortKey() {        String domain = getDomain();        return (domain.startsWith("."))             ? domain.substring(1) + "\1.\1" + getPath() + "\1" + getName()             : domain + "\1\1" + getPath() + "\1" + getName();    }//  END IA/HERITRIX ADDITION          // ----------------------------------------------------- Instance Variables   /** Comment attribute. */   private String  cookieComment;   /** Domain attribute. */   private String  cookieDomain;   /** Expiration {@link Date}. */   private Date    cookieExpiryDate;   /** Path attribute. */   private String  cookiePath;   /** My secure flag. */   private boolean isSecure;   /**    * Specifies if the set-cookie header included a Path attribute for this    * cookie    */   private boolean hasPathAttribute = false;   /**    * Specifies if the set-cookie header included a Domain attribute for this    * cookie    */   private boolean hasDomainAttribute = false;   /** The version of the cookie specification I was created from. */   private int     cookieVersion = 0;   // -------------------------------------------------------------- Constants   /**     * Collator for Cookie comparisons.  Could be replaced with references to    * specific Locales.    */   private static final RuleBasedCollator STRING_COLLATOR =        (RuleBasedCollator) RuleBasedCollator.getInstance(                                                new Locale("en", "US", ""));   /** Log object for this class */   private static final Log LOG = LogFactory.getLog(Cookie.class);// BEGIN IA/HERITRIX ADDITION   /**    * Character which, if appended to end of a domain, will give a     * boundary key that sorts past all Cookie sortKeys for the same    * domain.     */   public static final char DOMAIN_OVERBOUNDS = '\2';// END IA/HERITRIX ADDITION}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产网站一区二区| 日韩精品午夜视频| 丝袜亚洲另类丝袜在线| 国产在线看一区| 欧美色图一区二区三区| 久久先锋影音av鲁色资源| 一区二区三区国产精华| 国产精品一区二区你懂的| 欧美三级韩国三级日本一级| 中文字幕精品在线不卡| 精品一区二区三区欧美| 欧美女孩性生活视频| 亚洲色图制服诱惑| 国产成人夜色高潮福利影视| 欧美一区二区三区视频在线| 亚洲欧美精品午睡沙发| 国产99久久久久久免费看农村| 欧美精品视频www在线观看| 一区二区三区在线高清| 91影院在线观看| 久久精品网站免费观看| 久久国产尿小便嘘嘘尿| 制服丝袜在线91| 一区二区三区色| 在线观看视频一区二区欧美日韩| 国产精品国产精品国产专区不片| 国产成人综合亚洲网站| 精品久久久久久久久久久久久久久| 日韩中文字幕亚洲一区二区va在线| 欧洲一区在线电影| 亚洲主播在线播放| 91福利国产成人精品照片| 亚洲精品国久久99热| 色8久久精品久久久久久蜜| 亚洲美女免费在线| 欧美无人高清视频在线观看| 亚洲mv在线观看| 69久久99精品久久久久婷婷| 日产国产欧美视频一区精品| 911精品国产一区二区在线| 日韩在线a电影| 欧美一区二区三区四区五区 | 91在线视频免费91| 国产欧美一区二区精品忘忧草| 美女视频免费一区| 91精品在线观看入口| 亚洲mv在线观看| 欧美日韩www| 日本不卡视频在线| 日韩一区二区影院| 久久av中文字幕片| 欧美大片在线观看| 精品一区二区在线看| 日韩一级黄色大片| 久久99热这里只有精品| 欧美刺激午夜性久久久久久久| 久久9热精品视频| 久久这里只精品最新地址| 激情国产一区二区| 国产亚洲欧美日韩日本| 韩国女主播一区二区三区| 国产清纯美女被跳蛋高潮一区二区久久w| 久久se这里有精品| 精品成人佐山爱一区二区| 国产精品18久久久久久久久久久久 | 久久精品国产999大香线蕉| 91.xcao| 国产成人综合在线观看| 亚洲图片欧美激情| 欧美三级日本三级少妇99| 三级精品在线观看| 久久综合久久久久88| 国产.精品.日韩.另类.中文.在线.播放| 国产视频一区二区三区在线观看| 成人黄页毛片网站| 亚洲亚洲精品在线观看| 欧美一区二区视频观看视频| 国产成人免费在线视频| 亚洲国产日产av| 欧美精品 国产精品| 国产成人综合精品三级| 一级日本不卡的影视| 色94色欧美sute亚洲线路二| 国内精品免费在线观看| 亚洲精品欧美在线| 久久网站热最新地址| 欧美综合一区二区| 久久99在线观看| 一区二区三区高清不卡| 欧美大片拔萝卜| 91麻豆国产自产在线观看| 秋霞午夜鲁丝一区二区老狼| 国产精品免费免费| 91啪亚洲精品| 久久av老司机精品网站导航| 最新不卡av在线| 精品久久久三级丝袜| 一本色道久久综合亚洲91| 国产一区二区视频在线播放| 亚洲美女屁股眼交| 久久久电影一区二区三区| 欧美色国产精品| 成人国产在线观看| 精品一区二区日韩| 最近中文字幕一区二区三区| 国产日韩欧美a| 日韩欧美精品在线视频| 欧美午夜精品久久久久久孕妇 | 豆国产96在线|亚洲| 免费在线观看成人| 中文字幕在线观看一区| 2019国产精品| 91精品国产综合久久婷婷香蕉| 成人免费高清在线| 精品一区二区影视| 日韩精品一级二级| 亚洲综合色网站| 亚洲同性gay激情无套| 久久综合狠狠综合| 日韩一卡二卡三卡国产欧美| 欧美在线视频日韩| 成人永久aaa| 国产中文一区二区三区| 麻豆精品精品国产自在97香蕉| 五月激情六月综合| 国产精品亚洲人在线观看| 日本成人在线一区| 精品一区二区免费| 久久精品网站免费观看| 日韩欧美123| 日韩视频一区在线观看| 26uuu亚洲| 国产日韩欧美亚洲| 精品日韩欧美一区二区| 久久精品欧美日韩| 久久久久久免费网| 亚洲青青青在线视频| 国产精品毛片久久久久久久| 一区二区三区视频在线观看| 又紧又大又爽精品一区二区| 日本成人在线电影网| 青青草成人在线观看| 国产馆精品极品| 99精品黄色片免费大全| 欧美精选在线播放| 欧美电影免费观看高清完整版在| 国产女人水真多18毛片18精品视频| 久久婷婷国产综合精品青草| 亚洲视频精选在线| 午夜精品一区二区三区三上悠亚 | 国产精品卡一卡二| 亚洲欧美偷拍卡通变态| 亚洲一区在线视频| 亚洲电影你懂得| 久久99国产精品尤物| 岛国一区二区在线观看| 日本韩国欧美在线| 日韩一区二区精品葵司在线| 国产精品视频在线看| 樱桃视频在线观看一区| 人人精品人人爱| 国产成人在线观看| 欧美欧美欧美欧美| 国产午夜精品一区二区三区嫩草 | 91首页免费视频| 91精品国产91久久综合桃花| 久久亚区不卡日本| 一区二区免费在线播放| 午夜av一区二区三区| 黑人巨大精品欧美黑白配亚洲| av电影天堂一区二区在线观看| 欧美探花视频资源| www成人在线观看| 亚洲一区二区三区精品在线| 久久99国产精品尤物| 91首页免费视频| 欧美一区二区精品| 亚洲自拍偷拍图区| 国产精品18久久久久久vr| 91年精品国产| 精品理论电影在线| 一区二区三区加勒比av| 国产另类ts人妖一区二区| 欧洲精品一区二区| 亚洲欧洲日韩综合一区二区| 久久精品国产亚洲a| 91免费精品国自产拍在线不卡| 91精品国产综合久久久蜜臀图片| 中文字幕一区二区5566日韩| 另类小说图片综合网| 欧美在线不卡视频| 日本一区二区免费在线观看视频| 免费成人av资源网| 欧美色图一区二区三区| 国产精品色婷婷久久58| 久久成人麻豆午夜电影| 欧美性生活一区| 最好看的中文字幕久久| 国产成人日日夜夜| 欧美日韩一区二区三区高清|