org.mule.session
Class SerializeAndEncodeSessionHandler
java.lang.Object
org.mule.session.SerializeOnlySessionHandler
org.mule.session.SerializeAndEncodeSessionHandler
- All Implemented Interfaces:
- SessionHandler
- Direct Known Subclasses:
- MuleSessionHandler
public class SerializeAndEncodeSessionHandler
- extends SerializeOnlySessionHandler
A session handler used to store and retrieve session information on an
event. The DefaultMuleSession 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 Base64 encoded
byte array.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerializeAndEncodeSessionHandler
public SerializeAndEncodeSessionHandler()
retrieveSessionInfoFromMessage
public MuleSession retrieveSessionInfoFromMessage(MuleMessage message)
throws MuleException
- Specified by:
retrieveSessionInfoFromMessage
in interface SessionHandler
- Overrides:
retrieveSessionInfoFromMessage
in class SerializeOnlySessionHandler
- Throws:
MuleException
storeSessionInfoToMessage
public void storeSessionInfoToMessage(MuleSession session,
MuleMessage message)
throws MuleException
- Specified by:
storeSessionInfoToMessage
in interface SessionHandler
- Overrides:
storeSessionInfoToMessage
in class SerializeOnlySessionHandler
- Throws:
MuleException
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.