|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mule.session.LegacySessionHandler
SerializeAndEncodeSessionHandler
or SerializeOnlySessionHandler
instead.
public class LegacySessionHandler
A session handler used to store and retrieve session information on an event. The MuleSession information is stored as a header on the message (does not support Tcp, Udp, etc. unless the MuleMessage object is serialised across the wire). The session is stored in the "MULE_SESSION" property as String key/value pairs that are Base64 encoded, for example: ID=dfokokdf-3ek3oke-dkfokd;MySessionProp1=Value1;MySessionProp2=Value2
Field Summary | |
---|---|
protected Log |
logger
Deprecated. |
Constructor Summary | |
---|---|
LegacySessionHandler()
Deprecated. |
Method Summary | |
---|---|
String |
getSessionIDKey()
Deprecated. This method is no longer needed and will be removed in the next major release |
MuleSession |
retrieveSessionInfoFromMessage(MuleMessage message)
Deprecated. |
void |
retrieveSessionInfoFromMessage(MuleMessage message,
MuleSession session)
Deprecated. Use retrieveSessionInfoFromMessage(MuleMessage message) instead |
void |
storeSessionInfoToMessage(MuleSession session,
MuleMessage message)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected transient Log logger
Constructor Detail |
---|
public LegacySessionHandler()
Method Detail |
---|
public MuleSession retrieveSessionInfoFromMessage(MuleMessage message) throws MuleException
retrieveSessionInfoFromMessage
in interface SessionHandler
MuleException
public void retrieveSessionInfoFromMessage(MuleMessage message, MuleSession session) throws MuleException
retrieveSessionInfoFromMessage
in interface SessionHandler
MuleException
public void storeSessionInfoToMessage(MuleSession session, MuleMessage message) throws MuleException
storeSessionInfoToMessage
in interface SessionHandler
MuleException
public String getSessionIDKey()
SessionHandler
getSessionIDKey
in interface SessionHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |