Package de.xima.fc.session
Class FRQSessionManager
- java.lang.Object
-
- de.xima.fc.session.FRQSessionManager
-
public final class FRQSessionManager extends Object
-
-
Constructor Summary
Constructors Constructor Description FRQSessionManager()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static FRQSessionaddSession(XfcSession userSession, String formSessionID)Deprecated.static FRQSessionaddSession(javax.servlet.http.HttpSession session, String formSessionID)Deprecated.static FRQSessionaddSession(javax.servlet.http.HttpSession session, String formSessionID, Locale locale)static booleancheck(javax.servlet.http.HttpServletRequest request, boolean remove)static booleancheck(javax.servlet.http.HttpServletRequest request, String formRequestId, boolean remove)static voidclearAllButFRQSessionParameters(javax.servlet.http.HttpSession session)static FRQSessioncopySession(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 yourselfstatic FRQSessioncurrent(javax.servlet.http.HttpServletRequest request)static FRQSessioncurrent(javax.servlet.http.HttpServletRequest request, String formSessionID)static StringgetFormSessionID(javax.servlet.http.HttpServletRequest req)static FRQSessiongetSession(XfcSession xfcSess, String formSessionID)Deprecated.static FRQSessiongetSession(javax.servlet.http.HttpServletRequest request)static FRQSessiongetSession(javax.servlet.http.HttpServletRequest request, String formSessionID)static FRQSessiongetSession(javax.servlet.http.HttpSession session, String formSessionID)static Map<String,Map<String,FRQSession>>getSessionMap()static Map<String,FRQSession>getSessionMap(javax.servlet.http.HttpSession session)static FRQSessionregisterFormRequest(javax.servlet.http.HttpServletRequest request)static FRQSessionremove(javax.servlet.http.HttpServletRequest request, String formRequestId)static FRQSessionrenewFRID(javax.servlet.http.HttpSession httpSession, FRQSession frqSession)static voidrenewId(String oldSessionId, String sessId)
-
-
-
Method Detail
-
registerFormRequest
public static FRQSession registerFormRequest(javax.servlet.http.HttpServletRequest request)
-
current
public static FRQSession current(javax.servlet.http.HttpServletRequest request)
-
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
public static FRQSession getSession(javax.servlet.http.HttpServletRequest request)
-
getSession
public static FRQSession getSession(javax.servlet.http.HttpServletRequest request, String formSessionID)
-
getSession
public static FRQSession getSession(javax.servlet.http.HttpSession session, String formSessionID)
-
clearAllButFRQSessionParameters
public static void clearAllButFRQSessionParameters(javax.servlet.http.HttpSession session)
-
getSessionMap
public static Map<String,FRQSession> getSessionMap(javax.servlet.http.HttpSession session)
-
getFormSessionID
public static String getFormSessionID(javax.servlet.http.HttpServletRequest req)
-
getSessionMap
public static Map<String,Map<String,FRQSession>> getSessionMap()
-
renewFRID
public static FRQSession renewFRID(javax.servlet.http.HttpSession httpSession, FRQSession frqSession)
-
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 givenFRQSessionfor the givenHttpSession. The copiedFRQSessionis not initialized (!) and has a new ID.- Parameters:
session-HttpSessionto make the copy foroldSession-FRQSessionto be copied- Returns:
- an uninitialized (!) copy of the given
FRQSession
-
addSession
@Deprecated public static FRQSession addSession(XfcSession userSession, String formSessionID)
Deprecated.
-
getSession
@Deprecated public static FRQSession getSession(XfcSession xfcSess, String formSessionID)
Deprecated.
-
addSession
@Deprecated public static FRQSession addSession(javax.servlet.http.HttpSession session, String formSessionID)
Deprecated.
-
-