public class HttpSessionHandler extends Object implements HttpSessionListener
| Constructor and Description |
|---|
HttpSessionHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
registerHttpSessionDestructionListener(HttpSession session,
IHttpSessionDestructionListener listener)
Register a session listener for a session
|
void |
registerHttpSessionDestructionListener(IHttpSessionDestructionListener listener)
Register an http session destruction listener that will be called by all the
session
|
void |
sessionCreated(HttpSessionEvent se) |
void |
sessionDestroyed(HttpSessionEvent se) |
static HttpSessionHandler |
sharedInstance() |
void |
unRegisterHttpSessionDestructionListener(HttpSession session,
IHttpSessionDestructionListener listener)
Unregister an http session listener for a specific session
Note : It is not mandatory to unregister since the unregistration is performed automatically
when the session is destroyed
|
void |
unRegisterHttpSessionDestructionListener(IHttpSessionDestructionListener listener)
Unregister an http session destruction listener
|
public static HttpSessionHandler sharedInstance()
public void registerHttpSessionDestructionListener(IHttpSessionDestructionListener listener)
public void unRegisterHttpSessionDestructionListener(IHttpSessionDestructionListener listener)
public void registerHttpSessionDestructionListener(HttpSession session, IHttpSessionDestructionListener listener)
public void unRegisterHttpSessionDestructionListener(HttpSession session, IHttpSessionDestructionListener listener)
public void sessionCreated(HttpSessionEvent se)
sessionCreated in interface HttpSessionListenerpublic void sessionDestroyed(HttpSessionEvent se)
sessionDestroyed in interface HttpSessionListener| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/api
|
api
|
EP-PIN
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/lib/api
|
api
|
EP-PIN
|
Copyright 2021 SAP SE Complete Copyright Notice