⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 httpsession.java

📁 java servlet2.5 源码,对于学习servlet机制的人大为有用.
💻 JAVA
字号:
// Decompiled by DJ v3.8.8.85 Copyright 2005 Atanas Neshkov  Date: 2007-7-29 14:27:25
// Home Page : http://members.fortunecity.com/neshkov/dj.html  - Check often for new version!
// Decompiler options: packimports(3) 
// Source File Name:   HttpSession.java

package javax.servlet.http;

import java.util.Enumeration;
import javax.servlet.ServletContext;

// Referenced classes of package javax.servlet.http:
//            HttpSessionContext

public interface HttpSession
{

    public abstract long getCreationTime();

    public abstract String getId();

    public abstract long getLastAccessedTime();

    public abstract ServletContext getServletContext();

    public abstract void setMaxInactiveInterval(int i);

    public abstract int getMaxInactiveInterval();

    /**
     * @deprecated Method getSessionContext is deprecated
     */

    public abstract HttpSessionContext getSessionContext();

    public abstract Object getAttribute(String s);

    /**
     * @deprecated Method getValue is deprecated
     */

    public abstract Object getValue(String s);

    public abstract Enumeration getAttributeNames();

    /**
     * @deprecated Method getValueNames is deprecated
     */

    public abstract String[] getValueNames();

    public abstract void setAttribute(String s, Object obj);

    /**
     * @deprecated Method putValue is deprecated
     */

    public abstract void putValue(String s, Object obj);

    public abstract void removeAttribute(String s);

    /**
     * @deprecated Method removeValue is deprecated
     */

    public abstract void removeValue(String s);

    public abstract void invalidate();

    public abstract boolean isNew();
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -