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 Summary
ConstructorsConstructorDescriptionHttpSessionMapBindingListener(AttributeMapBindingListener listener, Map<String, Object> sessionMap) Create a new wrapper for given listener. -
Method Summary
Modifier and TypeMethodDescriptionReturns the wrapped listener.Returns the session map containing the listener.voidvalueBound(jakarta.servlet.http.HttpSessionBindingEvent event) voidvalueUnbound(jakarta.servlet.http.HttpSessionBindingEvent event)
-
Constructor Details
-
HttpSessionMapBindingListener
public HttpSessionMapBindingListener(AttributeMapBindingListener listener, Map<String, Object> sessionMap) Create a new wrapper for given listener.- Parameters:
listener- the listener to wrapsessionMap- the session map containing the listener
-
-
Method Details
-
getListener
Returns the wrapped listener. -
getSessionMap
Returns the session map containing the listener. -
valueBound
public void valueBound(jakarta.servlet.http.HttpSessionBindingEvent event) - Specified by:
valueBoundin interfacejakarta.servlet.http.HttpSessionBindingListener
-
valueUnbound
public void valueUnbound(jakarta.servlet.http.HttpSessionBindingEvent event) - Specified by:
valueUnboundin interfacejakarta.servlet.http.HttpSessionBindingListener
-