Class HttpSessionMapBindingListener

java.lang.Object
org.springframework.webflow.context.web.HttpSessionMapBindingListener
All Implemented Interfaces:
jakarta.servlet.http.HttpSessionBindingListener, EventListener

public class HttpSessionMapBindingListener extends Object implements jakarta.servlet.http.HttpSessionBindingListener
Helper class that adapts a generic AttributeMapBindingListener to a HTTP specific HttpSessionBindingListener. Calls will be forwarded to the wrapped listener.
Author:
Keith Donald
  • Constructor Details

    • HttpSessionMapBindingListener

      public HttpSessionMapBindingListener(AttributeMapBindingListener listener, Map<String,Object> sessionMap)
      Create a new wrapper for given listener.
      Parameters:
      listener - the listener to wrap
      sessionMap - the session map containing the listener
  • Method Details

    • getListener

      public AttributeMapBindingListener getListener()
      Returns the wrapped listener.
    • getSessionMap

      public Map<String,Object> getSessionMap()
      Returns the session map containing the listener.
    • valueBound

      public void valueBound(jakarta.servlet.http.HttpSessionBindingEvent event)
      Specified by:
      valueBound in interface jakarta.servlet.http.HttpSessionBindingListener
    • valueUnbound

      public void valueUnbound(jakarta.servlet.http.HttpSessionBindingEvent event)
      Specified by:
      valueUnbound in interface jakarta.servlet.http.HttpSessionBindingListener