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:
- Serialized Form
-
-
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 Constructor Description SessionScope()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
void
destroyChannelToken(String channelToken)
-
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
-
-
-
-
Method Detail
-
destroy
@PreDestroy public void destroy()
-
destroyChannelToken
public void destroyChannelToken(String channelToken)
-
-