public class SessionExtensions extends Object
| Constructor and Description |
|---|
SessionExtensions() |
| Modifier and Type | Method and Description |
|---|---|
static HttpSession |
getHttpSession()
Gets the current http session.
|
static List<org.apache.wicket.protocol.http.IRequestLogger.SessionData> |
getLiveSessions()
Gets the live sessions.
|
static Integer |
getPeakSessions()
Gets the peak sessions counter.
|
static org.apache.wicket.protocol.http.IRequestLogger |
getRequestLogger()
Gets the request logger of the current WebApplication.
|
static org.apache.wicket.protocol.http.IRequestLogger |
getRequestLogger(org.apache.wicket.protocol.http.WebApplication webApplication)
Gets the request logger from the given WebApplication.
|
static int |
getSessionTimeout()
Gets the session timeout.
|
static int |
setSessionTimeout(int interval)
Sets the given interval(in seconds) that will be set the session timeout.
|
public static HttpSession getHttpSession()
public static List<org.apache.wicket.protocol.http.IRequestLogger.SessionData> getLiveSessions()
public static Integer getPeakSessions()
public static org.apache.wicket.protocol.http.IRequestLogger getRequestLogger()
public static org.apache.wicket.protocol.http.IRequestLogger getRequestLogger(org.apache.wicket.protocol.http.WebApplication webApplication)
webApplication - the web applicationpublic static int getSessionTimeout()
public static int setSessionTimeout(int interval)
interval - The number of seconds.HttpSession is
null.Copyright © 2010–2016 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.