@ApplicationScoped public class WebsocketApplicationBean extends Object
| Constructor and Description | 
|---|
| WebsocketApplicationBean() | 
| Modifier and Type | Method and Description | 
|---|---|
| List<String> | getChannelTokensFor(String channel) | 
| <S extends Serializable> | getChannelTokensFor(String channel,
                   S user) | 
| boolean | isChannelAvailable(String channel)Indicate if the channel mentioned is valid for view scope. | 
| void | registerWebsocketSession(String token,
                        WebsocketChannelMetadata metadata) | 
public void registerWebsocketSession(String token, WebsocketChannelMetadata metadata)
public boolean isChannelAvailable(String channel)
channel - public <S extends Serializable> List<String> getChannelTokensFor(String channel, S user)
Copyright © 2025 The Apache Software Foundation. All rights reserved.