Package de.xima.fc.session
Class FRQSessionManager
java.lang.Object
de.xima.fc.session.FRQSessionManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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 booleanstatic voidclearAllButFRQSessionParameters(javax.servlet.http.HttpSession session) static FRQSessioncopySession(javax.servlet.http.HttpSession session, FRQSession oldSession) Deprecated.static FRQSessioncurrent(javax.servlet.http.HttpServletRequest request) static FRQSessionstatic 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>> static Map<String,FRQSession> getSessionMap(javax.servlet.http.HttpSession session) static FRQSessionregisterFormRequest(javax.servlet.http.HttpServletRequest request) static FRQSessionstatic FRQSessionrenewFRID(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 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. -
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