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

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

?? httpsession.java

?? 圖書管理系統,用JSP實現,圖書的查詢,添加等功能
?? 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 #removeAttribute}
     *
     * @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一区二区三区免费野_久草精品视频
欧美午夜一区二区| 国产精品日韩成人| 精品久久久久久无| 亚洲手机成人高清视频| 色婷婷综合在线| 欧美一区二区在线播放| 亚洲日本在线观看| 国产久卡久卡久卡久卡视频精品| 色哟哟在线观看一区二区三区| 日韩欧美国产成人一区二区| 一区二区在线观看av| 激情五月激情综合网| 欧美群妇大交群中文字幕| 中文字幕第一区第二区| 激情综合五月天| 欧美午夜精品一区二区蜜桃| 综合自拍亚洲综合图不卡区| 国产精品一区二区在线观看不卡| 777午夜精品免费视频| 亚洲一区二区偷拍精品| 91色视频在线| 国产精品妹子av| 久久精品国产免费| 欧美精品丝袜中出| 亚洲国产精品视频| 欧美中文字幕亚洲一区二区va在线| 中文字幕第一页久久| 国产成都精品91一区二区三| 欧美精品一区男女天堂| 久久99精品久久久久久国产越南 | 亚洲国产aⅴ天堂久久| k8久久久一区二区三区| 国产人成一区二区三区影院| 国内精品伊人久久久久av影院| 欧美一级日韩不卡播放免费| 日本成人在线看| 欧美一区二区三区播放老司机| 午夜国产精品一区| 在线成人小视频| 青青草国产成人99久久| 欧美成人精品高清在线播放| 毛片av中文字幕一区二区| 日韩午夜av一区| 国内成人精品2018免费看| 久久精品视频免费| 成人免费高清在线观看| 自拍偷拍欧美精品| 欧美日韩一区三区| 日韩精品乱码免费| 日韩午夜av一区| 国产成人亚洲综合色影视| 亚洲欧洲精品天堂一级| 欧美特级限制片免费在线观看| 日韩精品视频网| 久久精品一区蜜桃臀影院| a级精品国产片在线观看| 亚洲欧美日韩一区二区三区在线观看| 99精品国产视频| 亚洲超碰精品一区二区| 日韩欧美中文字幕公布| 国产iv一区二区三区| 亚洲欧美国产三级| 91精品国产综合久久香蕉麻豆| 九色综合狠狠综合久久| 中文字幕永久在线不卡| 欧美日韩精品福利| 国产精品一区免费视频| 成人手机电影网| 亚洲图片欧美一区| 久久―日本道色综合久久| k8久久久一区二区三区| 日本系列欧美系列| 国产精品久久二区二区| 91精品国产入口在线| 成人综合日日夜夜| 偷拍日韩校园综合在线| 国产欧美日韩综合精品一区二区| 欧美在线观看18| 国产成人在线网站| 日韩av电影天堂| 欧美国产日韩亚洲一区| 欧美二区在线观看| 成人av资源站| 精品亚洲porn| 亚洲精品久久7777| 国产欧美日韩不卡| 欧美高清视频www夜色资源网| 国产精品亚洲综合一区在线观看| 亚洲一区二区黄色| 中文字幕在线不卡视频| 精品99一区二区| 欧美精品高清视频| 92精品国产成人观看免费| 韩国三级中文字幕hd久久精品| 亚洲国产色一区| 亚洲色图20p| 中文字幕中文字幕在线一区| 精品国产乱码久久久久久图片| 欧美日韩视频不卡| 色系网站成人免费| 成人免费毛片app| 国产高清在线观看免费不卡| 美女视频黄久久| 五月综合激情网| 一二三四社区欧美黄| 中文字幕中文在线不卡住| 国产性做久久久久久| 精品福利视频一区二区三区| 日韩一级片在线观看| 欧美精品第1页| 欧美日韩综合在线免费观看| 在线视频你懂得一区二区三区| 成人av片在线观看| 成人激情免费电影网址| 国产高清精品网站| 国产精品一区专区| 国产成人a级片| 国产99久久久国产精品潘金网站| 国产老肥熟一区二区三区| 国产精品正在播放| 国产精品1区2区3区| 国产一区二区h| 国产精品一线二线三线精华| 福利一区福利二区| 国产成人亚洲综合色影视 | 亚洲国产裸拍裸体视频在线观看乱了| 中文字幕在线不卡| 亚洲精品中文在线影院| 一区二区三区资源| 亚洲va韩国va欧美va| 秋霞影院一区二区| 国内不卡的二区三区中文字幕| 国产成人亚洲精品狼色在线| 成人教育av在线| 在线中文字幕一区二区| 欧美日韩国产不卡| 日韩免费视频一区| 久久亚洲捆绑美女| 国产精品久久夜| 一区二区三区在线视频免费 | 国产精品全国免费观看高清| 国产精品美女一区二区三区 | 欧美高清激情brazzers| 欧美mv日韩mv国产| 中文字幕第一区二区| 亚洲一区二区五区| 国产一区中文字幕| 色综合久久久久网| 在线成人免费视频| 国产三级欧美三级日产三级99| 日韩久久一区二区| 日韩不卡一区二区| 国产xxx精品视频大全| 欧美色精品天天在线观看视频| 欧美一级理论性理论a| 国产人久久人人人人爽| 午夜精品久久一牛影视| 国产成人亚洲综合a∨婷婷图片| 欧洲日韩一区二区三区| 久久精品亚洲精品国产欧美kt∨| 国产精品不卡一区二区三区| 蜜臀va亚洲va欧美va天堂| 成人午夜视频网站| 欧美一区二区免费| 国产精品久久久久久久裸模| 天堂久久久久va久久久久| 成人污视频在线观看| 日韩视频一区在线观看| 亚洲免费观看高清在线观看| 国产乱人伦偷精品视频不卡 | 丰满少妇久久久久久久| 欧美一区午夜视频在线观看| 国产精品久线在线观看| 久久99久久99| 欧美三级一区二区| 国产精品高清亚洲| 国产麻豆成人精品| 日韩午夜小视频| 一区二区成人在线视频| 成人污视频在线观看| 精品国一区二区三区| 首页国产欧美久久| 91福利视频久久久久| 国产精品国产精品国产专区不片 | 久久久亚洲精品一区二区三区| 亚洲图片欧美综合| 日本韩国欧美一区二区三区| 中文乱码免费一区二区| 韩国av一区二区| 欧美xxxxx裸体时装秀| 日韩在线一区二区三区| 欧美日韩国产片| 一区二区在线看| 一本久久综合亚洲鲁鲁五月天 | 欧美日韩国产色站一区二区三区| 亚洲视频电影在线| 99久久精品国产网站| 国产精品午夜在线观看| 国产电影一区二区三区| 久久影院午夜片一区|