Package org.apache.myfaces.push.cdi
Class WebsocketScopeManager.SessionScope
java.lang.Object
org.apache.myfaces.push.cdi.WebsocketScopeManager.AbstractScope
org.apache.myfaces.push.cdi.WebsocketScopeManager.AbstractUserScope
org.apache.myfaces.push.cdi.WebsocketScopeManager.SessionScope
- All Implemented Interfaces:
Serializable
- Enclosing class:
- WebsocketScopeManager
@SessionScoped
public static class WebsocketScopeManager.SessionScope
extends WebsocketScopeManager.AbstractUserScope
implements Serializable
This map holds all tokens related to the current session and its associated metadata, that will
be used in the websocket handshake to validate if the incoming request is valid and to store
the user object into the Session object.
- See Also:
-
Field Summary
Fields inherited from class org.apache.myfaces.push.cdi.WebsocketScopeManager.AbstractUserScope
tokens
Fields inherited from class org.apache.myfaces.push.cdi.WebsocketScopeManager.AbstractScope
channelTokens
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.myfaces.push.cdi.WebsocketScopeManager.AbstractUserScope
getChannelToken, getUserFromChannelToken, isTokenValid, registerToken
Methods inherited from class org.apache.myfaces.push.cdi.WebsocketScopeManager.AbstractScope
getChannelTokens, getChannelTokens, isChannelAvailable, registerWebsocketSession
-
Constructor Details
-
SessionScope
public SessionScope()
-
-
Method Details
-
destroy
@PreDestroy public void destroy() -
destroyChannelToken
-