|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bankframe.services.sessionmgmt.SessionManagementUtils
public class SessionManagementUtils
This class provides static methods to facilitate interactions with the Session Management mechanism.
Constructor Summary | |
---|---|
SessionManagementUtils()
|
Method Summary | |
---|---|
static String |
getLogoffSessionId(DataPacket dp)
Logoff requests contain the sessionId in a different field. |
static String |
getSessionId(DataPacket dp)
Retrieve the sessionId from a DataPacket ( if present ) |
static String |
getSessionId(Vector dataPackets)
|
static void |
putSessionId(DataPacket dp,
String sessionId)
Add a sessionId to the specified DataPacket |
static void |
putSessionId(Vector dataPackets,
String sessionId)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SessionManagementUtils()
Method Detail |
---|
public static String getLogoffSessionId(DataPacket dp)
dp
- The logoff request to obtain the session id from
public static String getSessionId(DataPacket dp)
dp
- DataPacket to obtain session id from
public static String getSessionId(Vector dataPackets)
public static void putSessionId(DataPacket dp, String sessionId)
dp
- DataPacket to add sessionId tosessionId
- The session idpublic static void putSessionId(Vector dataPackets, String sessionId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |