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

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

?? cookie.java

?? 圖書管理系統,用JSP實現,圖書的查詢,添加等功能
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
     * to be deleted.
     *
     * @param expiry		an integer specifying the maximum age of the
     * 				cookie in seconds; if negative, means
     *				the cookie is not stored; if zero, deletes
     *				the cookie
     *
     *
     * @see #getMaxAge
     *
     */

    public void setMaxAge(int expiry) {
	maxAge = expiry;
    }




    /**
     * Returns the maximum age of the cookie, specified in seconds,
     * By default, <code>-1</code> indicating the cookie will persist
     * until browser shutdown.
     *
     *
     * @return			an integer specifying the maximum age of the
     *				cookie in seconds; if negative, means
     *				the cookie persists until browser shutdown
     *
     *
     * @see #setMaxAge
     *
     */

    public int getMaxAge() {
	return maxAge;
    }
    
    
    

    /**
     * Specifies a path for the cookie
     * to which the client should return the cookie.
     *
     * <p>The cookie is visible to all the pages in the directory
     * you specify, and all the pages in that directory's subdirectories. 
     * A cookie's path must include the servlet that set the cookie,
     * for example, <i>/catalog</i>, which makes the cookie
     * visible to all directories on the server under <i>/catalog</i>.
     *
     * <p>Consult RFC 2109 (available on the Internet) for more
     * information on setting path names for cookies.
     *
     *
     * @param uri		a <code>String</code> specifying a path
     *
     *
     * @see #getPath
     *
     */

    public void setPath(String uri) {
	path = uri;
    }




    /**
     * Returns the path on the server 
     * to which the browser returns this cookie. The
     * cookie is visible to all subpaths on the server.
     *
     *
     * @return		a <code>String</code> specifying a path that contains
     *			a servlet name, for example, <i>/catalog</i>
     *
     * @see #setPath
     *
     */ 

    public String getPath() {
	return path;
    }





    /**
     * Indicates to the browser whether the cookie should only be sent
     * using a secure protocol, such as HTTPS or SSL.
     *
     * <p>The default value is <code>false</code>.
     *
     * @param flag	if <code>true</code>, sends the cookie from the browser
     *			to the server using only when using a secure protocol;
     *			if <code>false</code>, sent on any protocol
     *
     * @see #getSecure
     *
     */
 
    public void setSecure(boolean flag) {
	secure = flag;
    }




    /**
     * Returns <code>true</code> if the browser is sending cookies
     * only over a secure protocol, or <code>false</code> if the
     * browser can send cookies using any protocol.
     *
     * @return		<code>true</code> if the browser can use
     *			any standard protocol; otherwise, <code>false</code>
     *
     * @see #setSecure
     *
     */

    public boolean getSecure() {
	return secure;
    }





    /**
     * Returns the name of the cookie. The name cannot be changed after
     * creation.
     *
     * @return		a <code>String</code> specifying the cookie's name
     *
     */

    public String getName() {
	return name;
    }





    /**
     *
     * Assigns a new value to a cookie after the cookie is created.
     * If you use a binary value, you may want to use BASE64 encoding.
     *
     * <p>With Version 0 cookies, values should not contain white 
     * space, brackets, parentheses, equals signs, commas,
     * double quotes, slashes, question marks, at signs, colons,
     * and semicolons. Empty values may not behave the same way
     * on all browsers.
     *
     * @param newValue		a <code>String</code> specifying the new value 
     *
     *
     * @see #getValue
     * @see Cookie
     *
     */

    public void setValue(String newValue) {
	value = newValue;
    }




    /**
     * Returns the value of the cookie.
     *
     * @return			a <code>String</code> containing the cookie's
     *				present value
     *
     * @see #setValue
     * @see Cookie
     *
     */

    public String getValue() {
	return value;
    }




    /**
     * Returns the version of the protocol this cookie complies 
     * with. Version 1 complies with RFC 2109, 
     * and version 0 complies with the original
     * cookie specification drafted by Netscape. Cookies provided
     * by a browser use and identify the browser's cookie version.
     * 
     *
     * @return			0 if the cookie complies with the
     *				original Netscape specification; 1
     *				if the cookie complies with RFC 2109
     *
     * @see #setVersion
     *
     */

    public int getVersion() {
	return version;
    }




    /**
     * Sets the version of the cookie protocol this cookie complies
     * with. Version 0 complies with the original Netscape cookie
     * specification. Version 1 complies with RFC 2109.
     *
     * <p>Since RFC 2109 is still somewhat new, consider
     * version 1 as experimental; do not use it yet on production sites.
     *
     *
     * @param v			0 if the cookie should comply with 
     *				the original Netscape specification;
     *				1 if the cookie should comply with RFC 2109
     *
     * @see #getVersion
     *
     */

    public void setVersion(int v) {
	version = v;
    }

    // Note -- disabled for now to allow full Netscape compatibility
    // from RFC 2068, token special case characters
    // 
    // private static final String tspecials = "()<>@,;:\\\"/[]?={} \t";

    private static final String tspecials = ",;";
    
    
    

    /*
     * Tests a string and returns true if the string counts as a 
     * reserved token in the Java language.
     * 
     * @param value		the <code>String</code> to be tested
     *
     * @return			<code>true</code> if the <code>String</code> is
     *				a reserved token; <code>false</code>
     *				if it is not			
     */

    private boolean isToken(String value) {
	int len = value.length();

	for (int i = 0; i < len; i++) {
	    char c = value.charAt(i);

	    if (c < 0x20 || c >= 0x7f || tspecials.indexOf(c) != -1)
		return false;
	}
	return true;
    }






    /**
     *
     * Overrides the standard <code>java.lang.Object.clone</code> 
     * method to return a copy of this cookie.
     *		
     *
     */

    public Object clone() {
	try {
	    return super.clone();
	} catch (CloneNotSupportedException e) {
	    throw new RuntimeException(e.getMessage());
	}
    }
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
在线日韩一区二区| 日韩伦理电影网| 国产精品高潮久久久久无| 亚洲电影在线免费观看| 国产精品888| 日韩一区二区免费高清| 亚洲黄色av一区| 国产成人综合视频| 欧美一区二区在线不卡| 亚洲色欲色欲www| 国产一区视频导航| 欧美人与禽zozo性伦| 亚洲人成亚洲人成在线观看图片| 极品销魂美女一区二区三区| 欧美无砖砖区免费| 亚洲人精品一区| 成人的网站免费观看| 国产午夜亚洲精品午夜鲁丝片| 人人精品人人爱| 欧美日韩一区二区在线观看视频| 亚洲视频中文字幕| 粉嫩一区二区三区性色av| 日韩欧美一级在线播放| 一区二区三区国产精品| 一本色道亚洲精品aⅴ| 欧美国产1区2区| 国产成人在线视频网站| 精品日韩av一区二区| 蜜臀av一级做a爰片久久| 欧美高清激情brazzers| 午夜婷婷国产麻豆精品| 欧美日韩精品专区| 亚洲v日本v欧美v久久精品| 在线免费观看不卡av| 亚洲久本草在线中文字幕| 成人aaaa免费全部观看| 国产精品乱子久久久久| 欧美精品一区二区高清在线观看| 视频一区国产视频| 欧美区在线观看| 久久精品久久综合| 欧美精品一区二区三区蜜桃| 国产电影一区在线| 国产视频一区二区三区在线观看| 成人免费电影视频| 亚洲黄一区二区三区| 欧美日韩免费视频| 日韩av网站免费在线| 欧美成人性战久久| 国产精品一级片在线观看| 国产精品―色哟哟| 欧美性视频一区二区三区| 天天操天天色综合| 精品久久久久久无| 国产成人精品www牛牛影视| 成人免费在线播放视频| 欧美视频你懂的| 久久国产精品99久久人人澡| 国产精品国产a| 欧美日免费三级在线| 久久精品久久久精品美女| 国产精品美日韩| 欧美人体做爰大胆视频| 国产在线视频一区二区三区| 自拍偷拍亚洲欧美日韩| 欧美精品色一区二区三区| 国产在线一区二区| 亚洲激情自拍偷拍| 精品欧美乱码久久久久久| av男人天堂一区| 美女在线视频一区| 亚洲色大成网站www久久九九| 欧美一级理论性理论a| 国产91丝袜在线播放0| 午夜精品福利一区二区三区蜜桃| 国产日韩欧美综合一区| 欧美午夜精品免费| 成人午夜免费视频| 蜜臀av一级做a爰片久久| 亚洲男人都懂的| 久久综合狠狠综合久久综合88| 国产精品网站在线播放| 7777精品伊人久久久大香线蕉最新版| 成人理论电影网| 日日夜夜一区二区| 自拍偷拍欧美精品| 久久午夜国产精品| 91精品国产乱码| 在线免费精品视频| 波多野结衣亚洲| 韩国成人在线视频| 婷婷综合久久一区二区三区| 亚洲摸摸操操av| 久久久久久一二三区| 欧美一区二区日韩一区二区| 欧美三级电影网站| av中文一区二区三区| 国产美女一区二区三区| 日韩精品91亚洲二区在线观看 | 亚洲视频一区二区在线| 欧美一区二区三区小说| 欧美综合视频在线观看| 97se亚洲国产综合自在线| 国产一二三精品| 国产一区美女在线| 久久激五月天综合精品| 蜜臀av性久久久久蜜臀aⅴ| 色综合久久久久久久久| 成人国产精品免费| 国产成人精品www牛牛影视| 国产在线精品一区二区| 久久疯狂做爰流白浆xx| 毛片基地黄久久久久久天堂| 日韩av一级电影| 蜜桃一区二区三区在线| 日本不卡的三区四区五区| 午夜视频在线观看一区二区| 日韩精品乱码免费| 石原莉奈在线亚洲二区| 日本不卡在线视频| 青青草原综合久久大伊人精品优势| 石原莉奈一区二区三区在线观看| 日韩国产精品久久久| 麻豆91免费看| 国产成人亚洲精品狼色在线| 国产高清成人在线| yourporn久久国产精品| 91老司机福利 在线| 91国偷自产一区二区使用方法| 欧美日韩免费一区二区三区 | 在线观看亚洲精品视频| 91搞黄在线观看| 51午夜精品国产| 久久影院午夜论| 亚洲色图欧洲色图婷婷| 亚洲va在线va天堂| 韩日欧美一区二区三区| www.欧美亚洲| 制服丝袜一区二区三区| 精品88久久久久88久久久| 国产片一区二区| 亚洲r级在线视频| 精品在线视频一区| 成人国产免费视频| 欧美日韩免费在线视频| 日韩精品一区二区三区中文不卡 | 99精品视频一区| 欧美日韩美女一区二区| 久久精品一区二区三区不卡牛牛| 亚洲精品免费在线| 理论电影国产精品| 99久久精品免费观看| 欧美肥妇free| 中文字幕亚洲成人| 日韩高清一区在线| 成人高清在线视频| 日韩一级视频免费观看在线| 亚洲欧美日韩国产另类专区| 麻豆精品视频在线观看免费| 色综合天天狠狠| 欧美mv和日韩mv的网站| 成人激情文学综合网| 欧美三级三级三级爽爽爽| 久久蜜臀中文字幕| 亚洲一区免费视频| 国产成人av在线影院| 欧美高清视频不卡网| 国产精品久久久久一区| 久久精品久久精品| 欧美无乱码久久久免费午夜一区| 久久久久久久综合狠狠综合| 视频在线在亚洲| 日本久久一区二区| 中文字幕的久久| 国产乱一区二区| 日韩一级高清毛片| 亚洲成av人在线观看| 91免费观看视频在线| 欧美—级在线免费片| 免费观看日韩电影| 欧美人与禽zozo性伦| 亚洲免费大片在线观看| 成人午夜短视频| 国产蜜臀av在线一区二区三区| 日本大胆欧美人术艺术动态| 欧美亚州韩日在线看免费版国语版| 欧美激情在线一区二区三区| 精品在线观看视频| 91麻豆精品国产91久久久| 亚洲高清视频的网址| 色婷婷久久久久swag精品| 国产精品久久久久永久免费观看 | 精品一区二区在线观看| 欧美精品久久久久久久多人混战 | 激情六月婷婷久久| 日韩欧美一级在线播放| 男男视频亚洲欧美| 欧美一区二区免费| 免费欧美日韩国产三级电影| 欧美一区二区三区不卡|