org.mule.transport.http
Class HttpSessionHandler
java.lang.Object
org.mule.transport.http.HttpSessionHandler
- All Implemented Interfaces:
- SessionHandler
public class HttpSessionHandler
- extends Object
- implements SessionHandler
Will read and write Http Cookie information to and from the Mule MuleSession
Field Summary |
protected Log |
logger
logger used by this class |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected transient Log logger
- logger used by this class
HttpSessionHandler
public HttpSessionHandler()
retrieveSessionInfoFromMessage
public void retrieveSessionInfoFromMessage(MuleMessage message,
MuleSession session)
throws MuleException
- Specified by:
retrieveSessionInfoFromMessage
in interface SessionHandler
- Throws:
MuleException
storeSessionInfoToMessage
public void storeSessionInfoToMessage(MuleSession session,
MuleMessage message)
throws MuleException
- Specified by:
storeSessionInfoToMessage
in interface SessionHandler
- Throws:
MuleException
getSessionIDKey
public String getSessionIDKey()
- Description copied from interface:
SessionHandler
- The property name of the session id to use when creating the Mule session. by
default the property name "ID" will be used. If no property was set on the
session called "ID" a session id will be automatically generated
- Specified by:
getSessionIDKey
in interface SessionHandler
- Returns:
- the property name of the session id that is set on the session
Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.