public final class FD2SessionManager extends Object
Constructor and Description |
---|
FD2SessionManager() |
Modifier and Type | Method and Description |
---|---|
static FD2Session |
addSession(XfcSession userSession,
String formSessionID) |
static boolean |
check(javax.servlet.http.HttpServletRequest req,
boolean remove) |
static boolean |
check(javax.servlet.http.HttpServletRequest req,
String formRequestId,
boolean remove) |
static FD2Session |
current(javax.servlet.http.HttpServletRequest request) |
static void |
dispose(String userSessionId)
Löscht die Session.
|
static void |
disposeAll() |
static String |
getFormSessionID(javax.servlet.http.HttpServletRequest req) |
static FD2Session |
getSession(javax.servlet.http.HttpServletRequest request) |
static FD2Session |
getSession(javax.servlet.http.HttpServletRequest request,
String formSessionID) |
static FD2Session |
getSession(String userSessionID,
String formSessionID) |
static Map<String,Map<String,FD2Session>> |
getSessionMap() |
static FD2Session |
registerFormRequest(javax.servlet.http.HttpServletRequest request) |
static FD2Session |
remove(javax.servlet.http.HttpServletRequest req,
String formRequestId) |
public static FD2Session registerFormRequest(javax.servlet.http.HttpServletRequest request)
public static FD2Session current(javax.servlet.http.HttpServletRequest request)
public static FD2Session addSession(XfcSession userSession, String formSessionID)
public static FD2Session remove(javax.servlet.http.HttpServletRequest req, String formRequestId)
public static boolean check(javax.servlet.http.HttpServletRequest req, boolean remove)
public static boolean check(javax.servlet.http.HttpServletRequest req, String formRequestId, boolean remove)
public static FD2Session getSession(javax.servlet.http.HttpServletRequest request)
public static FD2Session getSession(javax.servlet.http.HttpServletRequest request, String formSessionID)
public static FD2Session getSession(String userSessionID, String formSessionID)
public static void dispose(String userSessionId)
userSessionId
- Die ID, die für die Session-Initialisierung per #registerFormRequest(String)
verwendet
wurde (im Allgemeinen die HttpSession
-ID).public static void disposeAll()
public static Map<String,Map<String,FD2Session>> getSessionMap()
public static String getFormSessionID(javax.servlet.http.HttpServletRequest req)
Copyright © 2018 XIMA MEDIA GmbH. All rights reserved.