Package jakarta.servlet.http
Interface HttpSessionIdListener
-
- All Superinterfaces:
java.util.EventListener
public interface HttpSessionIdListener extends java.util.EventListenerImplementations of this interface are notified when anHttpSession's ID changes. To receive notification events, the implementation class must be configured in the deployment descriptor for the web application, annotated withWebListeneror registered by calling an addListener method on theServletContext.- Since:
- Servlet 3.1
- See Also:
HttpSessionEvent,HttpServletRequest.changeSessionId()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsessionIdChanged(HttpSessionEvent se, java.lang.String oldSessionId)Notification that a session ID has been changed.
-
-
-
Method Detail
-
sessionIdChanged
void sessionIdChanged(HttpSessionEvent se, java.lang.String oldSessionId)
Notification that a session ID has been changed.- Parameters:
se- the notification eventoldSessionId- the old session ID
-
-