org.codehaus.wadi
Interface Session

All Superinterfaces:
Context, Evictable, Motable, SerializableContent
All Known Subinterfaces:
WADIHttpSession
All Known Implementing Classes:
StandardSession

public interface Session
extends Context


Method Summary
 Object getAttribute(String name)
           
 Enumeration getAttributeNameEnumeration()
           
 Set getAttributeNameSet()
           
 String[] getAttributeNameStringArray()
           
 SessionConfig getConfig()
           
 String getId()
           
 Object removeAttribute(String name)
           
 Object setAttribute(String name, Object value)
           
 
Methods inherited from interface org.codehaus.wadi.Context
getExclusiveLock, getSharedLock
 
Methods inherited from interface org.codehaus.wadi.Motable
copy, getBodyAsByteArray, getBodyAsByteBuffer, getName, init, mote, setBodyAsByteArray, setBodyAsByteBuffer
 
Methods inherited from interface org.codehaus.wadi.Evictable
checkTimeframe, copy, destroy, getCreationTime, getLastAccessedTime, getMaxInactiveInterval, getTimedOut, getTimeToLive, init, isNew, mote, setLastAccessedTime, setMaxInactiveInterval
 
Methods inherited from interface org.codehaus.wadi.SerializableContent
readContent, writeContent
 

Method Detail

getId

public String getId()

getAttribute

public Object getAttribute(String name)

getAttributeNameSet

public Set getAttributeNameSet()

getAttributeNameEnumeration

public Enumeration getAttributeNameEnumeration()

getAttributeNameStringArray

public String[] getAttributeNameStringArray()

setAttribute

public Object setAttribute(String name,
                           Object value)

removeAttribute

public Object removeAttribute(String name)

getConfig

public SessionConfig getConfig()


Copyright © 2004-2006 Core Developers Network Ltd.. All Rights Reserved.