org.pentaho.platform.web.http.session
Class PentahoHttpSession
java.lang.Object
org.pentaho.platform.engine.core.system.PentahoBase
org.pentaho.platform.engine.core.system.BaseSession
org.pentaho.platform.web.http.session.PentahoHttpSession
- All Implemented Interfaces:
- java.io.Serializable, IAuditable, ILogger, IPentahoSession
public class PentahoHttpSession
- extends BaseSession
- See Also:
- Serialized Form
Fields inherited from interface org.pentaho.platform.api.engine.ILogger |
ACTIVITY_LOG, DEBUG, ERROR, FATAL, INFO, INSTANCE_LOG, SESSION_LOG, SOLUTION_LOG, TRACE, UNKNOWN, WARN |
Method Summary |
void |
destroy()
Destroys any resources owned by the session object |
java.lang.Object |
getAttribute(java.lang.String attributeName)
Get the value of a named session attribute |
java.util.Iterator |
getAttributeNames()
Returns an enumeration of the names of the attributes stored in the
session |
org.apache.commons.logging.Log |
getLogger()
|
java.lang.Object |
removeAttribute(java.lang.String attributeName)
Removes an attribute from the session and returns is |
void |
setAttribute(java.lang.String attributeName,
java.lang.Object value)
Sets the value of a session attribute |
Methods inherited from class org.pentaho.platform.engine.core.system.BaseSession |
getActionName, getBackgroundExecutionAlert, getId, getLocale, getName, getObjectName, getProcessId, isAuthenticated, resetBackgroundExecutionAlert, setActionName, setAuthenticated, setBackgroundExecutionAlert, setNotAuthenticated, setProcessId |
Methods inherited from class org.pentaho.platform.engine.core.system.PentahoBase |
debug, debug, error, error, fatal, fatal, genLogIdFromInfo, genLogIdFromInfo, genLogIdFromSession, getLoggingLevel, getLogId, info, info, setLoggingLevel, setLogId, trace, trace, warn, warn |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.pentaho.platform.api.engine.ILogger |
debug, debug, error, error, fatal, fatal, getLoggingLevel, info, info, setLoggingLevel, trace, trace, warn, warn |
PentahoHttpSession
public PentahoHttpSession(java.lang.String userName,
javax.servlet.http.HttpSession session,
java.util.Locale locale,
IPentahoSession userSession)
getLogger
public org.apache.commons.logging.Log getLogger()
- Specified by:
getLogger
in class PentahoBase
getAttributeNames
public java.util.Iterator getAttributeNames()
- Description copied from interface:
IPentahoSession
- Returns an enumeration of the names of the attributes stored in the
session
- Returns:
- The enumeration of the attribute names
getAttribute
public java.lang.Object getAttribute(java.lang.String attributeName)
- Description copied from interface:
IPentahoSession
- Get the value of a named session attribute
- Parameters:
attributeName
- The name of the attribute
- Returns:
- The value of the attribute
setAttribute
public void setAttribute(java.lang.String attributeName,
java.lang.Object value)
- Description copied from interface:
IPentahoSession
- Sets the value of a session attribute
- Parameters:
attributeName
- The name of the attributevalue
- The value of the attribute
removeAttribute
public java.lang.Object removeAttribute(java.lang.String attributeName)
- Description copied from interface:
IPentahoSession
- Removes an attribute from the session and returns is
- Parameters:
attributeName
- The name of the attribute to remove
- Returns:
- The value of the removed attribute
destroy
public void destroy()
- Description copied from interface:
IPentahoSession
- Destroys any resources owned by the session object
- Specified by:
destroy
in interface IPentahoSession
- Overrides:
destroy
in class BaseSession