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

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

?? httpsession.java

?? 用java編的一個聊天程序
?? JAVA
字號:
/*
 * The Apache Software License, Version 1.1
 *
 * Copyright (c) 1999 The Apache Software Foundation.  All rights 
 * reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer. 
 *
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in
 *    the documentation and/or other materials provided with the
 *    distribution.
 *
 * 3. The end-user documentation included with the redistribution, if
 *    any, must include the following acknowlegement:  
 *       "This product includes software developed by the 
 *        Apache Software Foundation (http://www.apache.org/)."
 *    Alternately, this acknowlegement may appear in the software itself,
 *    if and wherever such third-party acknowlegements normally appear.
 *
 * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
 *    Foundation" must not be used to endorse or promote products derived
 *    from this software without prior written permission. For written 
 *    permission, please contact apache@apache.org.
 *
 * 5. Products derived from this software may not be called "Apache"
 *    nor may "Apache" appear in their names without prior written
 *    permission of the Apache Group.
 *
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
 * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 * ====================================================================
 *
 * 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/>.
 *
 * ====================================================================
 *
 * This source code implements specifications defined by the Java
 * Community Process. In order to remain compliant with the specification
 * DO NOT add / change / or delete method signatures!
 */

package javax.servlet.http;

import java.util.Enumeration;

/**
 *
 * Provides a way to identify a user across more than one page
 * request or visit to a Web site and to store information about that user.
 *
 * <p>The servlet container uses this interface to create a session
 * between an HTTP client and an HTTP server. The session persists
 * for a specified time period, across more than one connection or
 * page request from the user. A session usually corresponds to one 
 * user, who may visit a site many times. The server can maintain a 
 * session in many ways such as using cookies or rewriting URLs.
 *
 * <p>This interface allows servlets to 
 * <ul>
 * <li>View and manipulate information about a session, such as
 *     the session identifier, creation time, and last accessed time
 * <li>Bind objects to sessions, allowing user information to persist 
 *     across multiple user connections
 * </ul>
 *
 * <p>When an application stores an object in or removes an object from a
 * session, the session checks whether the object implements
 * {@link HttpSessionBindingListener}. If it does, 
 * the servlet notifies the object that it has been bound to or unbound 
 * from the session.
 * 
 * <p>A servlet should be able to handle cases in which
 * the client does not choose to join a session, such as when cookies are
 * intentionally turned off. Until the client joins the session,
 * <code>isNew</code> returns <code>true</code>.  If the client chooses 
 * not to join
 * the session, <code>getSession</code> will return a different session
 * on each request, and <code>isNew</code> will always return
 * <code>true</code>.
 *
 * <p>Session information is scoped only to the current web application
 * (<code>ServletContext</code>), so information stored in one context
 * will not be directly visible in another.
 *
 * @author	Various
 * @version	$Version$
 *
 *
 * @see 	HttpSessionBindingListener
 * @see 	HttpSessionContext
 *
 */

public interface HttpSession {




    /**
     *
     * Returns the time when this session was created, measured
     * in milliseconds since midnight January 1, 1970 GMT.
     *
     * @return				a <code>long</code> specifying
     * 					when this session was created,
     *					expressed in 
     *					milliseconds since 1/1/1970 GMT
     *
     * @exception IllegalStateException	if this method is called on an
     *					invalidated session
     *
     */

    public long getCreationTime();
    
    
    
    
    /**
     *
     * Returns a string containing the unique identifier assigned 
     * to this session. The identifier is assigned 
     * by the servlet container and is implementation dependent.
     * 
     * @return				a string specifying the identifier
     *					assigned to this session
     *
     * @exeption IllegalStateException	if this method is called on an
     *					invalidated session
     *
     */

    public String getId();
    
    
    

    /**
     *
     * Returns the last time the client sent a request associated with
     * this session, as the number of milliseconds since midnight
     * January 1, 1970 GMT. 
     *
     * <p>Actions that your application takes, such as getting or setting
     * a value associated with the session, do not affect the access
     * time.
     *
     * @return				a <code>long</code>
     *					representing the last time 
     *					the client sent a request associated
     *					with this session, expressed in 
     *					milliseconds since 1/1/1970 GMT
     *
     * @exeption IllegalStateException	if this method is called on an
     *					invalidated session
     *
     */

    public long getLastAccessedTime();
    
    
    
    /**
     *
     * Specifies the time, in seconds, between client requests before the 
     * servlet container will invalidate this session.  A negative time
     * indicates the session should never timeout.
     *
     * @param interval		An integer specifying the number
     * 				of seconds 
     *
     */
    
    public void setMaxInactiveInterval(int interval);




   /**
    * Returns the maximum time interval, in seconds, that 
    * the servlet container will keep this session open between 
    * client accesses. After this interval, the servlet container
    * will invalidate the session.  The maximum time interval can be set
    * with the <code>setMaxInactiveInterval</code> method.
    * A negative time indicates the session should never timeout.
    *  
    *
    * @return		an integer specifying the number of
    *			seconds this session remains open
    *			between client requests
    *
    * @see		#setMaxInactiveInterval
    *
    *
    */

    public int getMaxInactiveInterval();
    
    


   /**
    *
    * @deprecated 	As of Version 2.1, this method is
    *			deprecated and has no replacement.
    *			It will be removed in a future
    *			version of the Java Servlet API.
    *
    */

    public HttpSessionContext getSessionContext();
    
    
    
    
    /**
     *
     * Returns the object bound with the specified name in this session, or
     * <code>null</code> if no object is bound under the name.
     *
     * @param name		a string specifying the name of the object
     *
     * @return			the object with the specified name
     *
     * @exception IllegalStateException	if this method is called on an
     *					invalidated session
     *
     */
  
    public Object getAttribute(String name);
    
    
    
    
    /**
     *
     * @deprecated 	As of Version 2.2, this method is
     * 			replaced by {@link #getAttribute}.
     *
     * @param name		a string specifying the name of the object
     *
     * @return			the object with the specified name
     *
     * @exception IllegalStateException	if this method is called on an
     *					invalidated session
     *
     */
  
    public Object getValue(String name);
    
    
    

    /**
     *
     * Returns an <code>Enumeration</code> of <code>String</code> objects
     * containing the names of all the objects bound to this session. 
     *
     * @return			an <code>Enumeration</code> of 
     *				<code>String</code> objects specifying the
     *				names of all the objects bound to
     *				this session
     *
     * @exception IllegalStateException	if this method is called on an
     *					invalidated session
     *
     */
    
    public Enumeration getAttributeNames();
    
    
    

    /**
     *
     * @deprecated 	As of Version 2.2, this method is
     * 			replaced by {@link #getAttributeNames}
     *
     * @return				an array of <code>String</code>
     *					objects specifying the
     *					names of all the objects bound to
     *					this session
     *
     * @exception IllegalStateException	if this method is called on an
     *					invalidated session
     *
     */
    
    public String[] getValueNames();
    
    
    

    /**
     * Binds an object to this session, using the name specified.
     * If an object of the same name is already bound to the session,
     * the object is replaced.
     *
     * <p>After this method executes, and if the object
     * implements <code>HttpSessionBindingListener</code>,
     * the container calls 
     * <code>HttpSessionBindingListener.valueBound</code>.
     *
     * @param name			the name to which the object is bound;
     *					cannot be null
     *
     * @param value			the object to be bound; cannot be null
     *
     * @exception IllegalStateException	if this method is called on an
     *					invalidated session
     *
     */
 
    public void setAttribute(String name, Object value);
    



    
    /**
     *
     * @deprecated 	As of Version 2.2, this method is
     * 			replaced by {@link #setAttribute}
     *
     * @param name			the name to which the object is bound;
     *					cannot be null
     *
     * @param value			the object to be bound; cannot be null
     *
     * @exception IllegalStateException	if this method is called on an
     *					invalidated session
     *
     */
 
    public void putValue(String name, Object value);





    /**
     *
     * Removes the object bound with the specified name from
     * this session. If the session does not have an object
     * bound with the specified name, this method does nothing.
     *
     * <p>After this method executes, and if the object
     * implements <code>HttpSessionBindingListener</code>,
     * the container calls 
     * <code>HttpSessionBindingListener.valueUnbound</code>.
     * 
     * 
     *
     * @param name				the name of the object to
     *						remove from this session
     *
     * @exception IllegalStateException	if this method is called on an
     *					invalidated session
     */

    public void removeAttribute(String name);





    /**
     *
     * @deprecated 	As of Version 2.2, this method is
     * 			replaced by {@link #setAttribute}
     *
     * @param name				the name of the object to
     *						remove from this session
     *
     * @exception IllegalStateException	if this method is called on an
     *					invalidated session
     */

    public void removeValue(String name);




    /**
     *
     * Invalidates this session and unbinds any objects bound
     * to it.
     *
     * @exception IllegalStateException	if this method is called on an
     *					already invalidated session
     *
     */

    public void invalidate();
    
    
    
    
    /**
     *
     * Returns <code>true</code> if the client does not yet know about the
     * session or if the client chooses not to join the session.  For 
     * example, if the server used only cookie-based sessions, and
     * the client had disabled the use of cookies, then a session would
     * be new on each request.
     *
     * @return 				<code>true</code> if the 
     *					server has created a session, 
     *					but the client has not yet joined
     *
     * @exception IllegalStateException	if this method is called on an
     *					already invalidated session
     *
     */

    public boolean isNew();
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久精工是国产品牌吗| 欧美日韩午夜在线视频| 欧美色视频在线观看| 久久久久久黄色| 午夜精品久久久久久久蜜桃app| 韩国精品久久久| 精品视频一区二区三区免费| 国产精品美女久久久久av爽李琼| 日本vs亚洲vs韩国一区三区| 91网址在线看| 中文字幕电影一区| 狠狠色丁香久久婷婷综合丁香| 欧美性欧美巨大黑白大战| 中文字幕国产一区| 国产精品99久久久久久久女警| 欧美高清你懂得| 一区二区三区四区乱视频| 成人黄色片在线观看| 久久免费的精品国产v∧| 人人狠狠综合久久亚洲| 在线电影院国产精品| 一区二区三区鲁丝不卡| 色综合久久中文字幕综合网 | 中文一区在线播放| 国内精品不卡在线| 26uuu色噜噜精品一区| 天天av天天翘天天综合网| 欧亚一区二区三区| 夜夜嗨av一区二区三区网页| 色88888久久久久久影院按摩| 国产精品久久毛片| 99国产一区二区三精品乱码| 国产精品乱人伦| eeuss鲁片一区二区三区| 国产精品久久久一区麻豆最新章节| 国产精品香蕉一区二区三区| 欧美激情综合在线| 99免费精品视频| 一区二区三区欧美视频| 欧美性欧美巨大黑白大战| 日韩精品1区2区3区| 欧美一区二区三区四区高清 | 欧美一区二区三区四区五区 | 亚洲精品乱码久久久久久久久| 成人av在线观| 激情六月婷婷久久| 欧美成人一区二区三区| 国产高清不卡二三区| 国产精品视频免费看| 91视频在线看| 日本美女视频一区二区| 久久人人97超碰com| a4yy欧美一区二区三区| 亚洲成人av一区二区三区| 在线观看91av| 国产91精品一区二区麻豆亚洲| 亚洲私人黄色宅男| 91精品欧美一区二区三区综合在| 久久精品av麻豆的观看方式| 中文字幕精品在线不卡| 在线观看亚洲a| 国产精品一色哟哟哟| 亚洲精品日产精品乱码不卡| 3atv在线一区二区三区| 国产久卡久卡久卡久卡视频精品| 亚洲美女偷拍久久| 欧美一卡在线观看| 99视频超级精品| 毛片基地黄久久久久久天堂| 国产精品免费视频一区| 在线播放/欧美激情| 东方aⅴ免费观看久久av| 亚洲gay无套男同| 欧美国产精品劲爆| 777亚洲妇女| a在线欧美一区| 日本女人一区二区三区| 亚洲精品日韩综合观看成人91| 欧美成人精品1314www| 91福利小视频| 国产精品自拍网站| 日本欧美一区二区在线观看| **欧美大码日韩| www久久久久| 777xxx欧美| 一本久久精品一区二区| 国产精品白丝jk白祙喷水网站| 天堂影院一区二区| 1区2区3区欧美| 欧美激情一区三区| 欧美精品一区二区久久婷婷| 欧美日韩成人综合天天影院| 91蜜桃网址入口| 成人爱爱电影网址| 国产麻豆成人精品| 激情五月播播久久久精品| 亚洲bt欧美bt精品| 亚洲一区二区三区爽爽爽爽爽| 国产精品全国免费观看高清 | 青青国产91久久久久久| 亚洲精品国产无套在线观| 中文幕一区二区三区久久蜜桃| 欧美精品一区二区久久婷婷| 91精品国产综合久久精品图片| 91久久人澡人人添人人爽欧美 | 91黄色免费网站| 99久久99久久精品免费看蜜桃| 国产一区999| 国产乱人伦精品一区二区在线观看| 青青草国产成人99久久| 日本中文在线一区| 蜜桃精品在线观看| 日本va欧美va欧美va精品| 午夜精品久久久久久久久久久| 一个色综合av| 亚洲成人综合视频| 天堂av在线一区| 免费xxxx性欧美18vr| 久久99国产精品久久| 国产一区二区三区国产| 国产sm精品调教视频网站| 成人午夜视频在线观看| 91丨九色丨黑人外教| 在线视频你懂得一区| 欧美日韩一区视频| 欧美一区二区三区免费观看视频| 日韩欧美国产午夜精品| 亚洲精品一区二区三区精华液| 久久久久久久久久美女| 欧美韩国日本不卡| 亚洲欧美成人一区二区三区| 亚洲国产一区二区三区| 男女性色大片免费观看一区二区 | 日韩欧美一级精品久久| 久久久美女艺术照精彩视频福利播放| 精品国产一区二区三区久久久蜜月| 久久综合久色欧美综合狠狠| 中文字幕av不卡| 亚洲777理论| 国产精品一区二区在线看| 99久久精品99国产精品| 69av一区二区三区| 欧美激情在线看| 亚洲国产精品一区二区久久 | 成人网在线免费视频| 一本久道中文字幕精品亚洲嫩| 欧美剧情片在线观看| 久久精品视频在线免费观看| 一区二区三区四区中文字幕| 奇米四色…亚洲| 精品国产麻豆免费人成网站| 亚洲色图.com| 久久疯狂做爰流白浆xx| 99久久久精品免费观看国产蜜| 欧美美女一区二区三区| 久久精品亚洲一区二区三区浴池| 亚洲综合无码一区二区| 国产在线不卡一卡二卡三卡四卡| 色妹子一区二区| 久久这里只有精品视频网| 亚洲一区日韩精品中文字幕| 国产精品一区不卡| 欧美日韩色一区| 1024亚洲合集| 国产一区二区福利视频| 欧美日韩一区二区在线观看| 欧美激情自拍偷拍| 久久精品国产77777蜜臀| 欧美色精品在线视频| 国产精品私房写真福利视频| 久久国产日韩欧美精品| 欧美色图片你懂的| 亚洲视频免费看| 成人黄色免费短视频| 久久午夜国产精品| 久久国产生活片100| 欧美精品乱码久久久久久按摩 | 午夜精品久久久久久久久久| av一区二区三区黑人| 久久久久久综合| 精品一区二区三区久久| 91麻豆精品国产综合久久久久久 | xfplay精品久久| 日韩av二区在线播放| 欧美性受极品xxxx喷水| 亚洲丝袜另类动漫二区| 成人av电影在线观看| 国产视频亚洲色图| 国产成人免费在线观看| 久久视频一区二区| 国产一区二区三区美女| 欧美大黄免费观看| 美女一区二区三区在线观看| 91麻豆精品国产91久久久| 亚洲v精品v日韩v欧美v专区| 欧美私人免费视频| 亚洲国产另类精品专区| 欧美男同性恋视频网站| 亚洲大尺度视频在线观看| 在线观看91精品国产麻豆|