Package de.xima.fc.session
Class FRQSessionManager
java.lang.Object
de.xima.fc.session.FRQSessionManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FRQSession
addSession
(XfcSession userSession, String formSessionID) Deprecated.static FRQSession
addSession
(javax.servlet.http.HttpSession session, String formSessionID) Deprecated.static FRQSession
addSession
(javax.servlet.http.HttpSession session, String formSessionID, Locale locale) static boolean
check
(javax.servlet.http.HttpServletRequest request, boolean remove) static boolean
static void
clearAllButFRQSessionParameters
(javax.servlet.http.HttpSession session) static FRQSession
copySession
(javax.servlet.http.HttpSession session, FRQSession oldSession) Deprecated.static FRQSession
current
(javax.servlet.http.HttpServletRequest request) static FRQSession
static String
getFormSessionID
(javax.servlet.http.HttpServletRequest req) static FRQSession
getSession
(XfcSession xfcSess, String formSessionID) Deprecated.static FRQSession
getSession
(javax.servlet.http.HttpServletRequest request) static FRQSession
getSession
(javax.servlet.http.HttpServletRequest request, String formSessionID) static FRQSession
getSession
(javax.servlet.http.HttpSession session, String formSessionID) static Map<String,
Map<String, FRQSession>> static Map<String,
FRQSession> getSessionMap
(javax.servlet.http.HttpSession session) static FRQSession
registerFormRequest
(javax.servlet.http.HttpServletRequest request) static FRQSession
static FRQSession
renewFRID
(javax.servlet.http.HttpSession httpSession, FRQSession frqSession) static void
-
Constructor Details
-
FRQSessionManager
public FRQSessionManager()
-
-
Method Details
-
registerFormRequest
-
current
-
current
public static FRQSession current(javax.servlet.http.HttpServletRequest request, String formSessionID) -
addSession
public static FRQSession addSession(javax.servlet.http.HttpSession session, String formSessionID, Locale locale) -
remove
public static FRQSession remove(javax.servlet.http.HttpServletRequest request, String formRequestId) -
check
public static boolean check(javax.servlet.http.HttpServletRequest request, boolean remove) -
check
public static boolean check(javax.servlet.http.HttpServletRequest request, String formRequestId, boolean remove) -
getSession
-
getSession
public static FRQSession getSession(javax.servlet.http.HttpServletRequest request, String formSessionID) -
getSession
-
clearAllButFRQSessionParameters
public static void clearAllButFRQSessionParameters(javax.servlet.http.HttpSession session) -
getSessionMap
-
getFormSessionID
-
getSessionMap
-
renewFRID
public static FRQSession renewFRID(javax.servlet.http.HttpSession httpSession, FRQSession frqSession) -
renewId
-
copySession
@Deprecated public static FRQSession copySession(javax.servlet.http.HttpSession session, FRQSession oldSession) Deprecated.userenewFRID(HttpSession, FRQSession)
to change the id of the current session or create a new session by yourselfMakes a copy of the givenFRQSession
for the givenHttpSession
. The copiedFRQSession
is not initialized (!) and has a new ID.- Parameters:
session
-HttpSession
to make the copy foroldSession
-FRQSession
to be copied- Returns:
- an uninitialized (!) copy of the given
FRQSession
-
addSession
Deprecated. -
getSession
Deprecated. -
addSession
@Deprecated public static FRQSession addSession(javax.servlet.http.HttpSession session, String formSessionID) Deprecated.
-
renewFRID(HttpSession, FRQSession)
to change the id of the current session or create a new session by yourself