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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? 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 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}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
eeuss影院一区二区三区| 国产精品久久久久影院老司| 国产不卡视频在线播放| 亚洲精品乱码久久久久久久久| 欧美精品日韩一本| 成人激情校园春色| 老司机精品视频一区二区三区| 亚洲欧美国产77777| 精品国产伦一区二区三区观看方式 | 亚洲嫩草精品久久| 欧美一二三四区在线| 99riav久久精品riav| 欧美日韩1234| av午夜精品一区二区三区| 精品综合免费视频观看| 亚洲国产美女搞黄色| 中文字幕日韩一区| 欧美精品一区二区精品网| 欧美伦理影视网| 一本一本大道香蕉久在线精品| 国产激情91久久精品导航| 蜜桃av噜噜一区二区三区小说| 亚洲午夜在线电影| 最新热久久免费视频| 欧美国产成人精品| 久久久久国产精品人| 日韩免费成人网| 制服丝袜国产精品| 欧美在线一二三四区| 色综合天天综合狠狠| 成人国产免费视频| 成人午夜看片网址| 国产a精品视频| 国产成人av资源| 国产馆精品极品| 国产真实乱子伦精品视频| 久草中文综合在线| 裸体在线国模精品偷拍| 免费精品视频在线| 蜜桃视频在线观看一区二区| 喷白浆一区二区| 蜜臀久久99精品久久久画质超高清 | 亚洲免费在线观看| 亚洲日本在线观看| 樱桃国产成人精品视频| 一区二区三区四区乱视频| 亚洲免费av观看| 亚洲乱码国产乱码精品精小说| 国产精品护士白丝一区av| 亚洲视频精选在线| 一区二区成人在线| 天堂蜜桃91精品| 美国毛片一区二区| 国产成人精品综合在线观看 | 福利一区二区在线观看| 国产91富婆露脸刺激对白| av成人免费在线| 欧美性猛交xxxxxxxx| 欧美日韩综合一区| 日韩免费看网站| 久久久99精品免费观看| 亚洲欧洲国产日韩| 亚洲成人在线网站| 精品系列免费在线观看| 国产精品一级在线| 91视视频在线直接观看在线看网页在线看| 91农村精品一区二区在线| 欧美日韩成人在线| 久久久天堂av| 亚洲精品成a人| 免费观看成人av| 国产高清精品久久久久| 色菇凉天天综合网| 欧美成人一区二区三区片免费| 国产欧美一区二区三区在线老狼| 国产精品久99| 日韩精品久久理论片| 国产成都精品91一区二区三| 色偷偷久久人人79超碰人人澡| 欧美卡1卡2卡| 久久九九久久九九| zzijzzij亚洲日本少妇熟睡| 欧美在线观看视频一区二区| 日韩一级二级三级| 亚洲视频在线观看三级| 日本va欧美va欧美va精品| 成人性视频免费网站| 欧美色电影在线| 欧美激情在线一区二区| 图片区小说区国产精品视频| 国产黑丝在线一区二区三区| 欧美日韩一区二区欧美激情| 久久精品视频网| 午夜伊人狠狠久久| 成人黄色电影在线| 日韩欧美一级二级三级久久久| 国产精品久久久久影视| 免费久久精品视频| 日本精品一级二级| 久久久久久久久岛国免费| 偷偷要91色婷婷| 99精品视频在线播放观看| 日韩精品一区二区在线观看| 亚洲激情第一区| 国产盗摄一区二区三区| 91精品国产一区二区人妖| 最新不卡av在线| 国产老妇另类xxxxx| 欧美男人的天堂一二区| 亚洲免费毛片网站| 国产精品主播直播| 日韩一级黄色片| 五月天激情综合网| 在线视频观看一区| 亚洲色图欧美偷拍| 国产不卡视频在线播放| 精品国产一区二区三区久久影院 | 天堂在线亚洲视频| 99久久精品情趣| 欧美精品九九99久久| 国产日韩欧美精品在线| 日本成人在线网站| 欧美日韩在线播放| 亚洲免费av高清| www.欧美日韩| 欧美韩日一区二区三区| 国产一区二区精品在线观看| 91精品免费在线观看| 亚洲成av人片在线观看| 欧洲一区二区av| 一区二区三区在线高清| 99re视频这里只有精品| 国产精品日韩成人| 成人精品视频一区| 国产精品久久久久久一区二区三区| 国产一区二三区好的| 精品久久久久久久久久久久久久久久久 | 国产精品第一页第二页第三页| 国产精一品亚洲二区在线视频| 欧美一区二区三区婷婷月色| 丝袜亚洲另类丝袜在线| 欧美妇女性影城| 午夜视频在线观看一区二区三区| 日本精品裸体写真集在线观看 | 日本最新不卡在线| 欧美精品欧美精品系列| 日本不卡视频在线观看| 欧美一区二区免费观在线| 青青青爽久久午夜综合久久午夜| 欧美精三区欧美精三区| 日本美女一区二区三区| 日韩一区二区免费在线电影| 久久精品国产一区二区三区免费看 | 日韩你懂的电影在线观看| 狠狠色狠狠色综合系列| 久久日韩粉嫩一区二区三区| 国产91丝袜在线观看| 国产精品福利av| 欧美性高清videossexo| 日产国产高清一区二区三区| 久久综合久久综合久久| 成人免费av资源| 伊人婷婷欧美激情| 日韩一区二区三区视频| 国产精品18久久久久| 亚洲日本护士毛茸茸| 欧美日韩黄视频| 狠狠v欧美v日韩v亚洲ⅴ| 国产精品人人做人人爽人人添| 91丨porny丨中文| 日韩va亚洲va欧美va久久| 精品91自产拍在线观看一区| 99久久久国产精品免费蜜臀| 五月天视频一区| 久久久久久久久久久久久久久99| 99re成人在线| 日韩av网站免费在线| 日本一区二区三区电影| 欧美三日本三级三级在线播放| 另类小说综合欧美亚洲| 国产精品高潮久久久久无| 91.成人天堂一区| 国产成人8x视频一区二区 | 国产精品久久久久久久久免费桃花 | 亚洲成人黄色小说| 精品国产一区二区三区久久久蜜月 | 天天影视网天天综合色在线播放 | 欧美成人精品3d动漫h| 99精品国产视频| 另类小说视频一区二区| 一区二区三区在线高清| www久久精品| 欧美色中文字幕| 国产99久久久国产精品| 日韩成人dvd| 最新热久久免费视频| 2020日本不卡一区二区视频| 欧美日韩亚洲综合在线| 成人午夜av影视| 黄色日韩网站视频|