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:
- 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 |
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 interface org.pentaho.platform.api.engine.ILogger |
debug, debug, error, error, fatal, fatal, getLoggingLevel, info, info, setLoggingLevel, trace, trace, warn, warn |
PentahoHttpSession
public PentahoHttpSession(String userName,
HttpSession session,
Locale locale,
IPentahoSession userSession)
getLogger
public Log getLogger()
- Specified by:
getLogger
in class PentahoBase
getAttributeNames
public 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 Object getAttribute(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(String attributeName,
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 Object removeAttribute(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