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

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

?? cookie.java

?? 一個基于lucene&heritrix的搜索引擎
?? 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 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 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 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 ADDITION}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色婷婷综合久久久久中文一区二区 | 成人一区二区视频| 99这里只有久久精品视频| 欧美高清hd18日本| 中文一区一区三区高中清不卡| 亚洲午夜av在线| 成人激情免费网站| 日韩午夜激情免费电影| 一区二区欧美在线观看| 国产白丝精品91爽爽久久| 欧美精品18+| 亚洲品质自拍视频| 国产精品1区2区3区在线观看| 欧美日韩午夜在线视频| 亚洲人成影院在线观看| 国产91精品久久久久久久网曝门| 欧美精品亚洲一区二区在线播放| 国产精品传媒入口麻豆| 国产一区二区三区黄视频| 欧美一区二区在线观看| 午夜av区久久| 色狠狠桃花综合| 国产精品久久免费看| 国产经典欧美精品| 国产色91在线| 国产成人在线视频网址| 久久久久久久综合狠狠综合| 喷白浆一区二区| 欧美一区二区三区公司| 婷婷夜色潮精品综合在线| 欧美日韩中文一区| 亚洲一区在线观看免费观看电影高清| 99在线视频精品| 亚洲视频1区2区| 色婷婷精品久久二区二区蜜臀av| 中文字幕在线免费不卡| 99精品一区二区三区| 1区2区3区国产精品| 色丁香久综合在线久综合在线观看| 国产精品久久久久久久久免费桃花| 国产a区久久久| 国产精品久久久久久久久晋中| 成人国产精品免费观看| 国产精品女上位| 色婷婷综合激情| 日韩专区欧美专区| 久久女同精品一区二区| 波多野结衣中文字幕一区 | 欧美大片在线观看一区二区| 免费的国产精品| 国产欧美一区在线| 91最新地址在线播放| 亚洲综合区在线| 日韩一区二区电影网| 国产成人综合精品三级| 国产精品国产三级国产三级人妇| 91在线观看美女| 亚洲高清视频的网址| 欧美精品一区视频| 色噜噜狠狠成人中文综合| 午夜精品国产更新| 久久久电影一区二区三区| 99精品视频在线观看| 丝袜美腿一区二区三区| 久久婷婷成人综合色| 一本色道亚洲精品aⅴ| 日韩激情视频在线观看| 国产欧美一区二区精品秋霞影院| 91麻豆国产福利精品| 男人操女人的视频在线观看欧美| 久久久国产一区二区三区四区小说| 99riav久久精品riav| 免费成人av资源网| 亚洲精品午夜久久久| 日韩欧美国产综合在线一区二区三区 | 日韩欧美成人午夜| 91香蕉视频在线| 黄色资源网久久资源365| 亚洲色图在线播放| 26uuu色噜噜精品一区| 在线免费观看视频一区| 九九热在线视频观看这里只有精品| 91麻豆国产在线观看| 国产老妇另类xxxxx| 一区二区三区精密机械公司| 日韩欧美不卡在线观看视频| av电影一区二区| 日韩二区三区在线观看| 国产精品情趣视频| 在线这里只有精品| 成人免费视频caoporn| 日韩电影免费在线| 自拍av一区二区三区| 欧美大片在线观看| 欧美性色综合网| 国产成人在线看| 亚洲二区视频在线| 亚洲品质自拍视频| 久久久久久久电影| 777久久久精品| 91丨porny丨中文| 国产一区二区三区久久久 | 韩国成人精品a∨在线观看| 亚洲人成7777| 精品国产乱码久久| 欧美精品精品一区| 91精品国产免费久久综合| 99精品视频在线观看免费| 狠狠色伊人亚洲综合成人| 亚洲国产日韩精品| 亚洲精品成人天堂一二三| 日韩一级高清毛片| 欧美日韩综合在线免费观看| 91社区在线播放| 亚洲成精国产精品女| 日韩理论片一区二区| 国产女人18毛片水真多成人如厕| 欧美福利视频导航| 欧美视频三区在线播放| 色伊人久久综合中文字幕| 伦理电影国产精品| 久久99久久久欧美国产| 日韩电影在线观看一区| 图片区小说区区亚洲影院| 一区二区三区欧美| 亚洲精品日日夜夜| 日本一区二区三区高清不卡| 国产精品久久福利| 国产精品入口麻豆原神| 中文幕一区二区三区久久蜜桃| 久久久精品免费观看| 国产视频一区二区在线| 91精品国产日韩91久久久久久| 日韩视频一区二区三区在线播放| 欧美一区二区性放荡片| 欧美一区二区在线免费播放 | 日韩亚洲国产中文字幕欧美| 日韩女优视频免费观看| 欧美va在线播放| 欧美精品一区二区三区视频| 久久久影院官网| 国产精品天美传媒| 中文字幕一区av| 夜夜嗨av一区二区三区四季av| 亚洲综合av网| 免费在线看成人av| 精品一区二区三区影院在线午夜| 国产在线视频不卡二| 波多野结衣视频一区| 精品视频色一区| 日韩丝袜美女视频| 国产欧美一区二区精品秋霞影院| 中文字幕一区二区三区av| 一区二区三区四区在线播放| 亚洲精品成人天堂一二三| 久久99国产精品久久99| 成人一二三区视频| 欧美影视一区在线| 26uuu国产一区二区三区| 国产精品久久久久久亚洲毛片| 中文字幕免费一区| 日韩成人精品在线| 丁香激情综合国产| 欧美日韩一卡二卡| 久久精品亚洲乱码伦伦中文| 一区二区三区在线免费播放| 国产主播一区二区| 在线亚洲精品福利网址导航| 欧美一级一区二区| 一区免费观看视频| 免费成人在线观看视频| caoporn国产精品| 欧美福利视频一区| 一区视频在线播放| 久久激情五月激情| 成人免费视频一区二区| 欧美精品一区二区三区四区| 亚洲一区二区五区| 国产精品99久久久久久久女警| 欧美亚洲高清一区| 欧美一区二区三区电影| 亚洲成人激情自拍| av欧美精品.com| 久久网站最新地址| 日韩电影一区二区三区| 成人蜜臀av电影| 久久中文娱乐网| 天堂资源在线中文精品| eeuss鲁一区二区三区| 精品国产乱码久久久久久牛牛| 欧美国产一区二区在线观看| 国产乱码字幕精品高清av| 欧美群妇大交群的观看方式| 亚洲人成在线观看一区二区| 国产一区二区三区免费看| 欧美日韩黄色一区二区| 亚洲第一精品在线| 在线精品视频免费观看| 国产精品久久久久天堂| 国产一区二区久久|