org.mule.providers.http
Class HttpSessionHandler

java.lang.Object
  extended byorg.mule.providers.http.HttpSessionHandler
All Implemented Interfaces:
UMOSessionHandler

public class HttpSessionHandler
extends Object
implements UMOSessionHandler

Will read and write Http Cookie information to and from the Mule Session

Version:
$Revision: 7976 $
Author:
Ross Mason

Field Summary
protected  Log logger
          logger used by this class
 
Constructor Summary
HttpSessionHandler()
           
 
Method Summary
 String getSessionIDKey()
          The property name of the session id to use when creating the Mule session.
 void retrieveSessionInfoFromMessage(UMOMessage message, UMOSession session)
           
 void storeSessionInfoToMessage(UMOSession session, UMOMessage message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected transient Log logger
logger used by this class

Constructor Detail

HttpSessionHandler

public HttpSessionHandler()
Method Detail

retrieveSessionInfoFromMessage

public void retrieveSessionInfoFromMessage(UMOMessage message,
                                           UMOSession session)
                                    throws UMOException
Specified by:
retrieveSessionInfoFromMessage in interface UMOSessionHandler
Throws:
UMOException

storeSessionInfoToMessage

public void storeSessionInfoToMessage(UMOSession session,
                                      UMOMessage message)
                               throws UMOException
Specified by:
storeSessionInfoToMessage in interface UMOSessionHandler
Throws:
UMOException

getSessionIDKey

public String getSessionIDKey()
Description copied from interface: UMOSessionHandler
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 UMOSessionHandler
Returns:
the property name of the session id that is set on the session


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.