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

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

?? cookie.java

?? EasyJF信息發布全部源代碼!
?? JAVA
字號:
// HTMLParser Library $Name: v1_6_20051112 $ - A java-based parser for HTML// http://sourceforge.org/projects/htmlparser// Copyright (C) 2004 Derrick Oswald//// Revision Control Information//// $Source: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/http/Cookie.java,v $// $Author: derrickoswald $// $Date: 2005/05/15 11:49:04 $// $Revision: 1.3 $//// This library is free software; you can redistribute it and/or// modify it under the terms of the GNU Lesser General Public// License as published by the Free Software Foundation; either// version 2.1 of the License, or (at your option) any later version.//// This library is distributed in the hope that it will be useful,// but WITHOUT ANY WARRANTY; without even the implied warranty of// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU// Lesser General Public License for more details.//// You should have received a copy of the GNU Lesser General Public// License along with this library; if not, write to the Free Software// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA//package com.easyjf.http;import java.io.Serializable;import java.util.Date;public class Cookie    implements        Cloneable,        Serializable{	private static final long serialVersionUID=9348392224l;    /**     * Special characters to watch out for.     * From RFC 2068, token special case characters.     */    private static final String SPECIALS = "()<>@,;:\\\"/[]?={} \t";    /**     * The name of the cookie.     */    protected String mName;    /**     * The cookie value.     */    protected String mValue; // value of NAME    /**     * Describes the cookie's use.     */    protected String mComment;    /**     * Domain that sees cookie.     */    protected String mDomain;    /**     * Cookie expires after this date.     */    protected Date mExpiry;    /**     * URLs that see the cookie.     */    protected String mPath;    /**     * Use SSL.     */    protected boolean mSecure;    /**     * If Version=1 it means RFC 2109++ style cookies.     */    protected int mVersion;    /**     * Defines a cookie with an initial name/value pair. The name must be an     * HTTP/1.1 "token" value; alphanumeric ASCII strings work. Names starting     * with a "$" character are reserved by RFC 2109.     * The path for the cookie is set to the root ("/") and there is no     * expiry time set.     * @param name  The name of the cookie.     * @param value The value of the cookie.     * @exception IllegalArgumentException     *             if the cookie name is not an HTTP/1.1 "token", or if it is     *             one of the tokens reserved for use by the cookie protocol     */    public Cookie (String name, String value)        throws            IllegalArgumentException    {        if (!isToken (name) || name.equalsIgnoreCase ("Comment") // rfc2019                || name.equalsIgnoreCase ("Discard") // 2019++                || name.equalsIgnoreCase ("Domain")                || name.equalsIgnoreCase ("Expires") // (old cookies)                || name.equalsIgnoreCase ("Max-Age") // rfc2019                || name.equalsIgnoreCase ("Path")                || name.equalsIgnoreCase ("Secure")                || name.equalsIgnoreCase ("Version"))            throw new IllegalArgumentException ("invalid cookie name: " + name);        mName = name;        mValue = value;        mComment = null;        mDomain = null;        mExpiry = null; // not persisted        mPath = "/";        mSecure = false;        mVersion = 0;    }    /**     * If a user agent (web browser) presents this cookie to a user, the     * cookie's purpose will be described using this comment. This is not     * supported by version zero cookies.     * @param purpose The cookie comment.     * @see #getComment     */    public void setComment (String purpose)    {        mComment = purpose;    }    /**     * Returns the comment describing the purpose of this cookie, or null if no     * such comment has been defined.     * @see #setComment     * @return The cookie comment, or <code>null</code> if none.     */    public String getComment ()    {        return (mComment);    }    /**     * This cookie should be presented only to hosts satisfying this domain name     * pattern. Read RFC 2109 for specific details of the syntax. Briefly, a     * domain name name begins with a dot (".foo.com") and means that hosts in     * that DNS zone ("www.foo.com", but not "a.b.foo.com") should see the     * cookie. By default, cookies are only returned to the host which saved     * them.     * @see #getDomain     * @param pattern The domain name pattern. The pattern is converted to     * lower case to accommodate less capable browsers.     */    public void setDomain (String pattern)    {        mDomain = pattern.toLowerCase (); // IE allegedly needs this    }    /**     * Returns the domain of this cookie.     * @return The cookie domain (the base URL name it applies to).     * @see #setDomain     */    public String getDomain ()    {        return (mDomain);    }    /**     * Sets the expiry date of the cookie. The cookie will expire after the     * date specified. A null value indicates the default behaviour:     * the cookie is not stored persistently, and will be deleted when the user     * agent (web browser) exits.     * @param expiry The expiry date for this cookie, or <code>null</code> if     * the cookie is persistent.     * @see #getExpiryDate     */    public void setExpiryDate (Date expiry)    {        mExpiry = expiry;    }    /**     * Returns the expiry date of the cookie. If none was specified,     * null is returned, indicating the default behaviour described     * with <em>setExpiryDate</em>.     * @return The cookie expiry date, or <code>null</code> if it is persistent.     * @see #setExpiryDate     */    public Date getExpiryDate ()    {        return (mExpiry);    }    /**     * This cookie should be presented only with requests beginning with this     * URL. Read RFC 2109 for a specification of the default behaviour.     * Basically, URLs in the same "directory" as the one which set the cookie,     * and in subdirectories, can all see the cookie unless a different path is     * set.     * @param uri The exclusion prefix for the cookie.     * @see #getPath     */    public void setPath (String uri)    {        mPath = uri;    }    /**     * Returns the prefix of all URLs for which this cookie is targetted.     * @return The cookie path (or "/" if no specific path is specified).     * @see #setPath     */    public String getPath ()    {        return (mPath);    }    /**     * Indicates to the user agent that 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.     * @see #getSecure     * @param flag Use <code>true</code> if the cookie is to be sent using     * secure protocols, <code>false</code> otherwise.     */    public void setSecure (boolean flag)    {        mSecure = flag;    }    /**     * Returns the value of the 'secure' flag.     * @return The <code>true</code> if this cookie should only be sent using     * a secure protocol, <code>false</code> otherwise.     * @see #setSecure     */    public boolean getSecure ()    {        return (mSecure);    }    /**     * Returns the name of the cookie. This name may not be changed after the     * cookie is created.     * @return The name of the cookie.     */    public String getName ()    {        return (mName);    }    /**      * @param newValue The new value for the cookie.     * @see #getValue     */    public void setValue (String newValue)    {        mValue = newValue;    }    /**     * Returns the value of the cookie.     * @return The cookie value.     * @see #setValue     */    public String getValue ()    {        return (mValue);    }    /**     * Returns the version of the cookie. Version 1 complies with RFC 2109,     * version 0 indicates the original version, as specified by Netscape. Newly     * constructed cookies use version 0 by default, to maximize     * interoperability. Cookies provided by a user agent will identify the     * cookie version used by the browser.     * @see #setVersion     * @return The cookie version.     */    public int getVersion ()    {        return (mVersion);    }    /**     * Sets the version of the cookie protocol used when this cookie saves     * itself. Since the IETF standards are still being finalized, consider     * version 1 as experimental; do not use it (yet) on production sites.     * @param version The version of the cookie, either 0 or 1.     * @see #getVersion     */    public void setVersion (int version)    {        mVersion = version;    }    /**     * Return true iff the string counts as an HTTP/1.1 "token".     * Valid tokens cannot have characters outside the ASCII range 0x20-0x7e,     * and cannot contain any of these characters: "()<>@,;:\\\"/[]?={} \t".     * @return The <code>true</code> if the provided string is a valid     * token, <code>false</code> otherwise.     */    private boolean isToken (String value)    {        int length;        char c;        boolean ret;        ret = true;        length = value.length ();        for (int i = 0; i < length && ret; i++)        {            c = value.charAt (i);            if (c < ' ' || c > '~' || SPECIALS.indexOf (c) != -1)                ret = false;        }        return (ret);    }    /**     * Returns a copy of this object.     * @return The clone of this cookie.     */    public Object clone ()    {        try        {            return (super.clone ());        }        catch (CloneNotSupportedException e)        {            throw new RuntimeException (e.getMessage ());        }    }    /**     * Convert this cookie into a user friendly string.     * @return A short form string representing this cookie.     */    public String toString ()    {        StringBuffer ret;        ret = new StringBuffer (50);        if (getSecure ())            ret.append ("secure ");        if (0 != getVersion ())        {            ret.append ("version ");            ret.append (getVersion ());            ret.append (" ");        }        ret.append ("cookie");        if (null != getDomain ())        {            ret.append (" for ");            ret.append (getDomain ());            if (null != getPath ())                ret.append (getPath ());        }        else        {            if (null != getPath ())            {                ret.append (" (path ");                ret.append (getPath ());                ret.append (")");            }        }        ret.append (": ");        ret.append (getName ());        ret.append ("=");        if (getValue ().length () > 40)        {            ret.append (getValue ().substring (1, 40));            ret.append ("...");        }        else            ret.append (getValue ());        if (null != getComment ())        {            ret.append (" // ");            ret.append (getComment ());        }        return (ret.toString ());    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲欧美日韩国产一区二区三区| 亚洲久本草在线中文字幕| 国产午夜精品一区二区三区嫩草| 国产精品看片你懂得| 日本va欧美va欧美va精品| 国产成人精品影视| 正在播放亚洲一区| 亚洲欧洲精品一区二区精品久久久 | 亚洲国产精品一区二区尤物区| 日韩制服丝袜av| 一本高清dvd不卡在线观看| 亚洲精品在线免费播放| 亚洲一区二区三区美女| 99视频一区二区| 国产亚洲短视频| 麻豆国产一区二区| 9191国产精品| 亚洲一区二区三区中文字幕在线 | 成人高清伦理免费影院在线观看| 制服丝袜亚洲播放| 亚洲精品欧美综合四区| 成人sese在线| 精品久久久久香蕉网| 奇米影视一区二区三区| 欧美亚洲高清一区二区三区不卡| 国产精品高清亚洲| 成人午夜在线视频| 亚洲国产精品自拍| 一本到不卡免费一区二区| 国产精品毛片无遮挡高清| 国产乱码精品一区二区三区忘忧草 | 欧美国产日韩精品免费观看| 久久国产福利国产秒拍| 91精品欧美久久久久久动漫| 亚洲高清免费一级二级三级| 在线观看成人小视频| 亚洲另类色综合网站| 色噜噜久久综合| 亚洲精品免费电影| 色哟哟欧美精品| 亚洲精品日产精品乱码不卡| 91国在线观看| 亚洲国产综合在线| 欧美妇女性影城| 蜜臀久久99精品久久久久宅男| 日韩欧美一区二区视频| 久久99精品久久久久久国产越南| 91精品国产入口| 激情六月婷婷综合| 国产亚洲欧美激情| av电影在线观看不卡| 亚洲人午夜精品天堂一二香蕉| 色天使色偷偷av一区二区| 一个色妞综合视频在线观看| 在线不卡免费欧美| 国产综合一区二区| 亚洲欧洲美洲综合色网| 欧美色国产精品| 久久er精品视频| 国产精品人妖ts系列视频| 色偷偷久久人人79超碰人人澡| 婷婷成人激情在线网| 精品久久久三级丝袜| 91亚洲精华国产精华精华液| 亚洲国产另类精品专区| 久久伊99综合婷婷久久伊| bt欧美亚洲午夜电影天堂| 亚洲一级不卡视频| 26uuu精品一区二区在线观看| www.欧美色图| 免费黄网站欧美| 最新国产精品久久精品| 欧美一级专区免费大片| 成人理论电影网| 日韩国产在线观看一区| 中文在线资源观看网站视频免费不卡| 欧美优质美女网站| 国产福利精品一区| 日韩国产精品久久久| 最新不卡av在线| 亚洲精品在线网站| 欧美喷潮久久久xxxxx| 成人污污视频在线观看| 亚洲成人中文在线| 国产精品麻豆一区二区| 4438成人网| 91天堂素人约啪| 国产精品亚洲а∨天堂免在线| 亚洲最新视频在线观看| 中文文精品字幕一区二区| 日韩一区二区三区四区| 91视频免费观看| 成人精品鲁一区一区二区| 久久精品国产免费| 亚洲午夜影视影院在线观看| 国产精品久线观看视频| 欧美电影免费观看高清完整版在线观看| 色婷婷亚洲综合| 成人福利视频在线| 国产一区二区三区综合| 蜜桃久久久久久| 午夜激情综合网| 亚洲国产成人av好男人在线观看| 一区视频在线播放| 国产免费久久精品| www国产精品av| 欧美一区二区视频观看视频| 欧美高清视频不卡网| 欧美无人高清视频在线观看| 色呦呦国产精品| 欧美白人最猛性xxxxx69交| 在线观看欧美黄色| 91国偷自产一区二区使用方法| 成人爱爱电影网址| 不卡欧美aaaaa| 99国产精品久| 91视频国产资源| 91国产成人在线| 欧美撒尿777hd撒尿| 欧美性猛交一区二区三区精品| 色狠狠色噜噜噜综合网| 91福利小视频| 精品污污网站免费看| 欧美日韩另类一区| 欧美撒尿777hd撒尿| 日韩一级片网站| 欧美精品一区二区三区很污很色的 | 一区2区3区在线看| 亚洲gay无套男同| 日韩精品亚洲专区| 久久99久久99| 国产suv精品一区二区三区| 波多野结衣精品在线| 一本大道av伊人久久综合| 在线欧美日韩国产| 欧美日韩国产综合一区二区三区| 欧美一区二区三区免费在线看 | 91老司机福利 在线| 在线观看视频91| 91精品国产色综合久久不卡电影 | 国产激情一区二区三区四区| 国产精品12区| 91国产丝袜在线播放| 这里只有精品电影| 久久综合网色—综合色88| 国产精品家庭影院| 亚洲第一成人在线| 国产一区二区在线免费观看| 91日韩精品一区| 日韩午夜在线观看| 中文字幕在线观看一区二区| 亚洲h在线观看| 国产成人免费在线观看| 欧美性大战久久| 久久久精品日韩欧美| 亚洲资源在线观看| 国产真实乱子伦精品视频| 91在线porny国产在线看| 6080日韩午夜伦伦午夜伦| 国产精品人成在线观看免费| 亚洲成人资源网| 99视频精品在线| 精品剧情在线观看| 亚洲一二三区视频在线观看| 精品一区二区三区av| 欧美无乱码久久久免费午夜一区| 久久亚洲精精品中文字幕早川悠里 | 国产激情偷乱视频一区二区三区| 色一区在线观看| 久久精品夜色噜噜亚洲a∨| 亚洲国产美国国产综合一区二区| 国产精品自拍网站| 欧美日韩免费在线视频| 国产精品成人网| 国产综合一区二区| 91精品欧美久久久久久动漫| 亚洲欧美日韩中文播放| 国产精品一二三四区| 91精品国产全国免费观看| 一区二区三区日韩精品| 粉嫩在线一区二区三区视频| 欧美一区2区视频在线观看| 一区二区三区四区视频精品免费 | wwwwww.欧美系列| 日韩电影一区二区三区四区| 一本色道综合亚洲| 国产精品久久久久三级| 国产精品456| 久久久久久99久久久精品网站| 日韩av中文在线观看| 欧美另类videos死尸| 亚洲一区二区欧美日韩| 91网上在线视频| 亚洲人吸女人奶水| 色综合天天在线| 国产情人综合久久777777| 日本亚洲天堂网| 欧美喷水一区二区| 亚洲123区在线观看| 欧美性色aⅴ视频一区日韩精品|