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

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

?? cookie.java

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

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩欧美黄色影院| 不卡一区二区在线| 欧美激情一区二区三区蜜桃视频| 91欧美激情一区二区三区成人| 亚洲国产精品视频| 国产日韩欧美一区二区三区综合| 欧美日韩免费电影| 高清不卡在线观看| 亚洲成人精品一区| 国产色产综合产在线视频 | 91影院在线观看| 欧美aaaaa成人免费观看视频| 亚洲品质自拍视频网站| 欧美不卡在线视频| 欧美日韩国产乱码电影| jizz一区二区| 国产在线精品视频| 日韩黄色小视频| 狠狠色狠狠色综合| 亚洲香蕉伊在人在线观| 国产精品美女久久久久久久| 精品国精品国产尤物美女| 在线观看免费一区| 99视频一区二区| 国产suv一区二区三区88区| 人人超碰91尤物精品国产| 一区二区欧美精品| 国产精品福利一区| 久久久久久久久久美女| 日韩免费观看高清完整版在线观看| 欧美性xxxxx极品少妇| av一区二区三区四区| 国产尤物一区二区| 精品无码三级在线观看视频| 奇米影视7777精品一区二区| 视频一区国产视频| 亚洲高清视频中文字幕| 亚洲成人在线网站| 亚洲第一二三四区| 亚洲国产综合色| 亚洲国产精品一区二区www在线 | 久久久亚洲午夜电影| 欧美电视剧在线观看完整版| 日韩视频免费观看高清完整版在线观看| 精品视频在线免费看| 色婷婷综合久久久久中文| 97se亚洲国产综合自在线不卡 | 日韩欧美国产一区二区三区| 91精品国产欧美一区二区18| 7777精品伊人久久久大香线蕉的 | 欧美一区二区三区在线视频| 91精品福利在线一区二区三区| 亚洲欧美aⅴ...| 亚洲欧美日韩电影| 亚洲一区二区视频在线观看| 亚洲va国产va欧美va观看| 亚洲成人一二三| 日韩av中文字幕一区二区| 毛片不卡一区二区| 国产一区 二区| 成人18视频日本| 91在线视频播放地址| 91免费版在线| 欧美女孩性生活视频| 欧美成va人片在线观看| 日本一区二区三区四区| 亚洲欧美乱综合| 日韩制服丝袜av| 国产麻豆精品95视频| 99久久精品免费看国产| 欧美三区在线观看| 亚洲精品在线观看视频| 国产精品三级久久久久三级| 亚洲美女精品一区| 日韩精品每日更新| 国产一区亚洲一区| 不卡电影免费在线播放一区| 欧美优质美女网站| 91精品国产一区二区三区香蕉| 国产偷国产偷精品高清尤物 | 亚洲制服丝袜在线| 日韩精品高清不卡| 丰满亚洲少妇av| 欧美视频一二三区| 久久亚洲二区三区| 一区二区三区日韩| 国内精品久久久久影院色 | 成人黄色777网| 欧美日韩精品一区二区三区| 欧美国产亚洲另类动漫| 亚洲国产精品久久不卡毛片| 国产一区二区精品久久99| 欧美综合视频在线观看| 久久亚洲私人国产精品va媚药| 一卡二卡欧美日韩| 国产一区二区三区在线观看免费视频 | 国产精品久久二区二区| 91福利资源站| 久久综合色鬼综合色| 亚洲乱码国产乱码精品精的特点| 麻豆精品视频在线| 色老综合老女人久久久| 日本一区二区三区久久久久久久久不 | 中文字幕一区二区三区蜜月| 秋霞午夜av一区二区三区| 99免费精品在线观看| 精品少妇一区二区三区免费观看| 亚洲精品欧美综合四区| 国产毛片精品一区| 欧美日韩高清在线| 国产精品久久久久久久久搜平片 | 日韩女优av电影| 一区二区三区四区乱视频| 国产剧情一区二区| 欧美疯狂做受xxxx富婆| 亚洲精品视频免费看| 国产成人精品亚洲日本在线桃色| 欧美刺激午夜性久久久久久久| 亚洲综合清纯丝袜自拍| av在线一区二区三区| 久久久久久电影| 国内精品在线播放| 日韩欧美亚洲国产精品字幕久久久 | 日韩影视精彩在线| 色哟哟国产精品免费观看| 国产精品丝袜91| 国内外成人在线视频| 91精品国产综合久久久久| 亚洲国产va精品久久久不卡综合| 99re这里都是精品| 国产欧美一区在线| 国产69精品久久久久777| 精品日韩在线观看| 青青草国产成人av片免费| 欧美精品tushy高清| 午夜伦欧美伦电影理论片| 欧美丝袜自拍制服另类| 亚洲午夜国产一区99re久久| 色综合久久99| 亚洲免费视频成人| 色婷婷av一区二区三区gif| 亚洲免费在线视频一区 二区| 成人黄色a**站在线观看| 中文字幕中文乱码欧美一区二区| www.av精品| 亚洲色图19p| 色老头久久综合| 亚洲成人在线免费| 91精品视频网| 久久er99精品| 国产人妖乱国产精品人妖| 成人午夜又粗又硬又大| 国产精品久久久久久久久晋中 | 精油按摩中文字幕久久| 日韩欧美亚洲国产精品字幕久久久| 九九精品视频在线看| 久久精品视频在线看| 成人性色生活片| 亚洲女同女同女同女同女同69| 欧美最猛性xxxxx直播| 色婷婷狠狠综合| 亚洲国产成人精品视频| 欧美一区二区三区在线看| 国产精品18久久久久久久久久久久 | 成人精品免费网站| 中文字幕一区二区三区乱码在线| 在线视频观看一区| 肉丝袜脚交视频一区二区| 欧美成人免费网站| 成人性生交大片免费看中文网站| 亚洲色欲色欲www| 欧美精品日韩精品| 国产一区激情在线| 日韩伦理av电影| 7777女厕盗摄久久久| 国产69精品久久久久毛片| 亚洲一区在线视频观看| 精品处破学生在线二十三| 99久久精品一区二区| 奇米一区二区三区av| 国产精品色噜噜| 91精品国产乱码| 成人黄色777网| 蜜臀91精品一区二区三区| 中文字幕日韩一区| 日韩一级黄色片| 91麻豆成人久久精品二区三区| 日本欧美一区二区| 国产精品久久二区二区| 日韩欧美自拍偷拍| 91在线国产观看| 久久超碰97中文字幕| 亚洲综合久久av| 国产精品美女久久福利网站| 91精品国产综合久久精品图片| eeuss国产一区二区三区| 免费高清在线一区| 亚洲在线中文字幕| 国产视频一区不卡| 欧美一区二区视频在线观看2020 |