org.apache.cocoon.components.language.markup.xsp
Class XSPSessionHelper
java.lang.Object
org.apache.cocoon.components.language.markup.xsp.XSPSessionHelper
public class XSPSessionHelper
- extends Object
The Session
object helper
- Version:
- CVS $Id: XSPSessionHelper.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Ricardo Rocha, Vadim Gritsenko
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XSPSessionHelper
public XSPSessionHelper()
getSessionAttribute
public static Object getSessionAttribute(Session session,
String name,
Object defaultValue)
- Return the given session attribute value or a user-provided default if
none was specified.
- Parameters:
session
- The Session objectname
- The parameter namedefaultValue
- Value to substitute in absence of a parameter value
getSessionAttributeNames
public static List getSessionAttributeNames(Session session)
- Get the session attribute names.
- Parameters:
session
- The Session object
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.