org.apache.cocoon.environment.impl
Class AbstractSession

java.lang.Object
  extended byorg.apache.cocoon.environment.impl.AbstractSession
All Implemented Interfaces:
HttpSession, org.apache.cocoon.environment.Session
Direct Known Subclasses:
HttpSession

public abstract class AbstractSession
extends Object
implements org.apache.cocoon.environment.Session

Base class for any session

Version:
$Id: AbstractSession.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Constructor Summary
AbstractSession()
           
 
Method Summary
 Map getAttributes()
           
 ServletContext getServletContext()
           
 HttpSessionContext getSessionContext()
           
 Object getValue(String name)
           
 String[] getValueNames()
           
 void putValue(String name, Object value)
           
 void removeValue(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cocoon.environment.Session
getAttribute, getAttributeNames, getCreationTime, getId, getLastAccessedTime, getMaxInactiveInterval, invalidate, isNew, removeAttribute, setAttribute, setMaxInactiveInterval
 

Constructor Detail

AbstractSession

public AbstractSession()
Method Detail

getAttributes

public Map getAttributes()
Specified by:
getAttributes in interface org.apache.cocoon.environment.Session

getServletContext

public ServletContext getServletContext()
Specified by:
getServletContext in interface HttpSession

getSessionContext

public HttpSessionContext getSessionContext()
Specified by:
getSessionContext in interface HttpSession

getValue

public Object getValue(String name)
Specified by:
getValue in interface HttpSession

getValueNames

public String[] getValueNames()
Specified by:
getValueNames in interface HttpSession

putValue

public void putValue(String name,
                     Object value)
Specified by:
putValue in interface HttpSession

removeValue

public void removeValue(String name)
Specified by:
removeValue in interface HttpSession


Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.