org.mortbay.jetty.servlet

Class AbstractSessionManager.Session

public abstract class AbstractSessionManager.Session extends Object implements SessionManager.Session

Constructor Summary
protected Session(HttpServletRequest request)
Method Summary
voidaccess()
ObjectgetAttribute(String name)
EnumerationgetAttributeNames()
longgetCreationTime()
StringgetId()
longgetLastAccessedTime()
intgetMaxInactiveInterval()
ServletContextgetServletContext()
HttpSessionContextgetSessionContext()
ObjectgetValue(String name)
String[]getValueNames()
voidinvalidate()
booleanisNew()
booleanisValid()
protected abstract MapnewAttributeMap()
voidputValue(String name, Object value)
voidremoveAttribute(String name)
voidremoveValue(String name)
voidsetAttribute(String name, Object value)
voidsetMaxInactiveInterval(int secs)

Constructor Detail

Session

protected Session(HttpServletRequest request)

Method Detail

access

public void access()

getAttribute

public Object getAttribute(String name)

getAttributeNames

public Enumeration getAttributeNames()

getCreationTime

public long getCreationTime()

getId

public String getId()

getLastAccessedTime

public long getLastAccessedTime()

getMaxInactiveInterval

public int getMaxInactiveInterval()

getServletContext

public ServletContext getServletContext()

getSessionContext

public HttpSessionContext getSessionContext()

Deprecated:

getValue

public Object getValue(String name)

Deprecated: As of Version 2.2, this method is replaced by {@link #getAttribute}

getValueNames

public String[] getValueNames()

Deprecated: As of Version 2.2, this method is replaced by {@link #getAttributeNames}

invalidate

public void invalidate()

isNew

public boolean isNew()

isValid

public boolean isValid()

newAttributeMap

protected abstract Map newAttributeMap()

putValue

public void putValue(String name, Object value)

Deprecated: As of Version 2.2, this method is replaced by {@link #setAttribute}

removeAttribute

public void removeAttribute(String name)

removeValue

public void removeValue(String name)

Deprecated: As of Version 2.2, this method is replaced by {@link #removeAttribute}

setAttribute

public void setAttribute(String name, Object value)

setMaxInactiveInterval

public void setMaxInactiveInterval(int secs)
Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.