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

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

?? cookie.java

?? 爬蟲
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
/* * $Header: /cvsroot/archive-crawler/ArchiveOpenCrawler/src/java/org/apache/commons/httpclient/Cookie.java,v 1.4 2005/09/07 23:45:37 gojomo Exp $ * $Revision: 1.4 $ * $Date: 2005/09/07 23:45:37 $ * * ==================================================================== * *  Copyright 1999-2004 The Apache Software Foundation * *  Licensed under the Apache License, Version 2.0 (the "License"); *  you may not use this file except in compliance with the License. *  You may obtain a copy of the License at * *      http://www.apache.org/licenses/LICENSE-2.0 * *  Unless required by applicable law or agreed to in writing, software *  distributed under the License is distributed on an "AS IS" BASIS, *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *  See the License for the specific language governing permissions and *  limitations under the License. * ==================================================================== * * This software consists of voluntary contributions made by many * individuals on behalf of the Apache Software Foundation.  For more * information on the Apache Software Foundation, please see * <http://www.apache.org/>. * */package org.apache.commons.httpclient;import java.io.Serializable;import java.text.RuleBasedCollator;import java.util.Comparator;import java.util.Date;import java.util.Locale;import org.apache.commons.httpclient.cookie.CookiePolicy;import org.apache.commons.httpclient.cookie.CookieSpec;import org.apache.commons.httpclient.util.LangUtils;import org.apache.commons.logging.Log;import org.apache.commons.logging.LogFactory;/** * <p> * HTTP "magic-cookie" represents a piece of state information * that the HTTP agent and the target server can exchange to maintain  * a session. * </p> *  * @author B.C. Holmes * @author <a href="mailto:jericho@thinkfree.com">Park, Sung-Gu</a> * @author <a href="mailto:dsale@us.britannica.com">Doug Sale</a> * @author Rod Waldhoff * @author dIon Gillard * @author Sean C. Sullivan * @author <a href="mailto:JEvans@Cyveillance.com">John Evans</a> * @author Marc A. Saegesser * @author <a href="mailto:oleg@ural.ru">Oleg Kalnichevski</a> * @author <a href="mailto:mbowler@GargoyleSoftware.com">Mike Bowler</a> *  * @version $Revision: 1.4 $ $Date: 2005/09/07 23:45:37 $ */public class Cookie extends NameValuePair implements Serializable, Comparator {    // ----------------------------------------------------------- Constructors    /**     * Default constructor. Creates a blank cookie      */    public Cookie() {        this(null, "noname", null, null, null, false);    }    /**     * Creates a cookie with the given name, value and domain attribute.     *     * @param name    the cookie name     * @param value   the cookie value     * @param domain  the domain this cookie can be sent to     */    public Cookie(String domain, String name, String value) {        this(domain, name, value, null, null, false);    }    /**     * Creates a cookie with the given name, value, domain attribute,     * path attribute, expiration attribute, and secure attribute      *     * @param name    the cookie name     * @param value   the cookie value     * @param domain  the domain this cookie can be sent to     * @param path    the path prefix for which this cookie can be sent     * @param expires the {@link Date} at which this cookie expires,     *                or <tt>null</tt> if the cookie expires at the end     *                of the session     * @param secure if true this cookie can only be sent over secure     * connections     * @throws IllegalArgumentException If cookie name is null or blank,     *   cookie name contains a blank, or cookie name starts with character $     *        */    public Cookie(String domain, String name, String value,         String path, Date expires, boolean secure) {                    super(name, value);        LOG.trace("enter Cookie(String, String, String, String, Date, boolean)");        if (name == null) {            throw new IllegalArgumentException("Cookie name may not be null");        }        if (name.trim().equals("")) {            throw new IllegalArgumentException("Cookie name may not be blank");        }        this.setPath(path);        this.setDomain(domain);        this.setExpiryDate(expires);        this.setSecure(secure);    }    /**     * Creates a cookie with the given name, value, domain attribute,     * path attribute, maximum age attribute, and secure attribute      *     * @param name   the cookie name     * @param value  the cookie value     * @param domain the domain this cookie can be sent to     * @param path   the path prefix for which this cookie can be sent     * @param maxAge the number of seconds for which this cookie is valid.     *               maxAge is expected to be a non-negative number.      *               <tt>-1</tt> signifies that the cookie should never expire.     * @param secure if <tt>true</tt> this cookie can only be sent over secure     * connections     */    public Cookie(String domain, String name, String value, String path,         int maxAge, boolean secure) {                    this(domain, name, value, path, null, secure);        if (maxAge < -1) {            throw new IllegalArgumentException("Invalid max age:  " + Integer.toString(maxAge));        }                    if (maxAge >= 0) {            setExpiryDate(new Date(System.currentTimeMillis() + maxAge * 1000L));        }    }    /**     * Returns the comment describing the purpose of this cookie, or     * <tt>null</tt> if no such comment has been defined.     *      * @return comment      *     * @see #setComment(String)     */    public String getComment() {        return cookieComment;    }    /**     * If a user agent (web browser) presents this cookie to a user, the     * cookie's purpose will be described using this comment.     *      * @param comment     *       * @see #getComment()     */    public void setComment(String comment) {        cookieComment = comment;    }    /**     * Returns the expiration {@link Date} of the cookie, or <tt>null</tt>     * if none exists.     * <p><strong>Note:</strong> the object returned by this method is      * considered immutable. Changing it (e.g. using setTime()) could result     * in undefined behaviour. Do so at your peril. </p>     * @return Expiration {@link Date}, or <tt>null</tt>.     *     * @see #setExpiryDate(java.util.Date)     *     */    public Date getExpiryDate() {        return cookieExpiryDate;    }    /**     * Sets expiration date.     * <p><strong>Note:</strong> the object returned by this method is considered     * immutable. Changing it (e.g. using setTime()) could result in undefined      * behaviour. Do so at your peril.</p>     *     * @param expiryDate the {@link Date} after which this cookie is no longer valid.     *     * @see #getExpiryDate     *     */    public void setExpiryDate (Date expiryDate) {        cookieExpiryDate = expiryDate;    }    /**     * Returns <tt>false</tt> if the cookie should be discarded at the end     * of the "session"; <tt>true</tt> otherwise.     *     * @return <tt>false</tt> if the cookie should be discarded at the end     *         of the "session"; <tt>true</tt> otherwise     */    public boolean isPersistent() {        return (null != cookieExpiryDate);    }    /**     * Returns domain attribute of the cookie.     *      * @return the value of the domain attribute     *     * @see #setDomain(java.lang.String)     */    public String getDomain() {        return cookieDomain;    }    /**     * Sets the domain attribute.     *      * @param domain The value of the domain attribute     *     * @see #getDomain     */    public void setDomain(String domain) {        if (domain != null) {            int ndx = domain.indexOf(":");            if (ndx != -1) {              domain = domain.substring(0, ndx);            }            cookieDomain = domain.toLowerCase();        }    }    /**     * Returns the path attribute of the cookie     *      * @return The value of the path attribute.     *      * @see #setPath(java.lang.String)     */    public String getPath() {        return cookiePath;    }    /**     * Sets the path attribute.     *     * @param path The value of the path attribute     *     * @see #getPath     *     */    public void setPath(String path) {        cookiePath = path;    }    /**     * @return <code>true</code> if this cookie should only be sent over secure connections.     * @see #setSecure(boolean)     */    public boolean getSecure() {        return isSecure;    }    /**     * Sets the secure attribute of the cookie.     * <p>     * When <tt>true</tt> the cookie should only be sent     * using a secure protocol (https).  This should only be set when     * the cookie's originating server used a secure protocol to set the     * cookie's value.     *     * @param secure The value of the secure attribute     *      * @see #getSecure()     */    public void setSecure (boolean secure) {        isSecure = secure;

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产91精品在线观看| 国产精品色哟哟| 久久综合久色欧美综合狠狠| 久久伊99综合婷婷久久伊| 国产丝袜美腿一区二区三区| 中文字幕中文字幕在线一区| 亚洲一区二区在线播放相泽| 日韩国产高清影视| 国产高清精品在线| 91国偷自产一区二区开放时间| 欧美精品丝袜久久久中文字幕| 日韩精品资源二区在线| 国产精品久久久久久久久久免费看 | 中文字幕国产一区二区| 亚洲欧美国产高清| 蜜桃在线一区二区三区| 成人性生交大片免费| 欧美三级中文字| 久久久美女毛片| 尤物在线观看一区| 狠狠色狠狠色综合日日91app| 不卡的av在线播放| 日韩一区二区免费在线观看| 国产精品美女一区二区在线观看| 亚洲制服丝袜一区| 国产一区二区三区高清播放| 在线日韩一区二区| 久久久久久毛片| 亚洲成人综合视频| 丰满白嫩尤物一区二区| 欧美一区二区三区白人| 亚洲少妇最新在线视频| 国产一区二区在线视频| 欧美日韩一二区| 国产精品白丝在线| 国产揄拍国内精品对白| 欧美日韩免费在线视频| 国产精品久久久久久久久图文区 | 懂色av中文一区二区三区| 欧美日韩精品系列| 一区在线观看免费| 精品一区二区免费看| 欧美激情一区三区| 天使萌一区二区三区免费观看| 成人手机在线视频| 欧美xxxxx裸体时装秀| 亚洲成人av一区二区| 99久久精品情趣| 久久综合色天天久久综合图片| 偷偷要91色婷婷| 一本久道中文字幕精品亚洲嫩| 久久久久久一级片| 奇米色777欧美一区二区| 色吧成人激情小说| 中文字幕乱码日本亚洲一区二区| 激情综合色综合久久| 欧美福利视频导航| 一卡二卡三卡日韩欧美| 97精品超碰一区二区三区| 久久久久久久综合| 久久不见久久见免费视频1| 欧美精品三级日韩久久| 亚洲国产精品欧美一二99| 91日韩精品一区| 国产精品乱人伦中文| 国产成人av福利| www亚洲一区| 久久99久久精品| 日韩欧美一二三区| 蜜桃av一区二区三区电影| 6080午夜不卡| 天天综合天天综合色| 欧美日韩三级一区二区| 亚洲国产精品久久人人爱蜜臀| 色一区在线观看| 亚洲另类在线制服丝袜| 色欧美88888久久久久久影院| 亚洲天堂精品在线观看| 99精品一区二区| 国产精品福利一区| av一区二区三区四区| 国产精品高清亚洲| 91啪在线观看| 亚洲综合色自拍一区| 欧美在线制服丝袜| 亚洲bt欧美bt精品777| 欧美在线观看视频一区二区三区| 亚洲欧美日韩在线| 欧美伊人精品成人久久综合97| 亚洲综合视频网| 欧美日精品一区视频| 视频一区免费在线观看| 日韩欧美国产1| 国产一区二区三区久久悠悠色av| 久久精品人人做人人爽人人| 成人精品小蝌蚪| 一区二区视频在线看| 欧美精品丝袜中出| 国产在线播放一区二区三区| 国产精品女人毛片| 色天使色偷偷av一区二区| 偷拍自拍另类欧美| 久久综合五月天婷婷伊人| 成人精品视频一区二区三区尤物| 亚洲精品日产精品乱码不卡| 欧美日韩精品一区二区三区蜜桃 | 国产传媒一区在线| 中文字幕在线观看不卡| 欧美日韩一区二区在线观看| 麻豆国产精品一区二区三区| 国产亚洲污的网站| 色88888久久久久久影院野外| 日日夜夜免费精品| 国产丝袜在线精品| 欧美这里有精品| 国产综合成人久久大片91| ●精品国产综合乱码久久久久| 欧美日韩亚洲综合在线| 国产乱人伦偷精品视频不卡| 亚洲精品中文在线| 欧美成人a视频| a在线播放不卡| 天天影视涩香欲综合网| 欧美激情一区二区三区| 欧美日韩三级一区| 粉嫩久久99精品久久久久久夜| 亚洲一区二区三区自拍| 久久久久久一级片| 欧美色爱综合网| 国产69精品久久99不卡| 性感美女极品91精品| 国产欧美一区二区在线观看| 欧美视频在线一区二区三区 | 青青青伊人色综合久久| 国产欧美日韩视频一区二区| 欧美日韩亚州综合| 成人午夜精品在线| 日韩国产精品91| 亚洲丝袜美腿综合| 欧美大片日本大片免费观看| 91在线精品一区二区三区| 美女网站色91| 亚洲男同性恋视频| 久久亚洲一区二区三区四区| 欧美日韩在线播放一区| 成人性色生活片| 秋霞电影一区二区| 亚洲制服丝袜在线| 国产精品婷婷午夜在线观看| 日韩一区二区三区精品视频| 色欧美日韩亚洲| 丁香啪啪综合成人亚洲小说 | 色素色在线综合| 国产大陆亚洲精品国产| 免费在线观看成人| 一区二区三区日韩| 国产色产综合产在线视频| 欧美一区二区网站| 91国偷自产一区二区开放时间| 成人综合在线观看| 久久狠狠亚洲综合| 天天色图综合网| 亚洲欧美一区二区三区孕妇| 久久久综合网站| 日韩一区二区影院| 欧美精品高清视频| 欧美亚洲国产怡红院影院| av不卡在线播放| 国产成人免费视频网站| 精品一区精品二区高清| 日本欧美一区二区| 性欧美疯狂xxxxbbbb| 亚洲综合小说图片| 亚洲精品欧美激情| 亚洲欧美激情视频在线观看一区二区三区 | 欧美精品丝袜中出| 色哦色哦哦色天天综合| 色综合久久综合网| 一本久久综合亚洲鲁鲁五月天| 成人福利视频网站| 成人毛片老司机大片| 国产不卡在线视频| 成人自拍视频在线| 成人综合婷婷国产精品久久蜜臀 | 久久夜色精品国产噜噜av| 欧美电影免费提供在线观看| 欧美一区二区三区影视| 91精品视频网| 日韩欧美激情一区| 日韩欧美一区二区三区在线| 日韩女优av电影| 精品蜜桃在线看| 久久午夜羞羞影院免费观看| 久久精品亚洲精品国产欧美kt∨| 26uuu国产日韩综合| 国产亚洲精品aa| 日本一区二区免费在线| 18成人在线观看| 亚洲另类色综合网站| 亚洲地区一二三色|