Class LoggingWebsocketDefinition
java.lang.Object
ch.tocco.nice2.web.core.api.websocket.SecureWebsocket<LoggingWebsocketDefinition.LoggingWebsocket>
ch.tocco.nice2.web.core.api.websocket.AnonymousWebsocket<LoggingWebsocketDefinition.LoggingWebsocket>
ch.tocco.nice2.devcon.impl.socket.AbstractWebsocketDefinition<LoggingWebsocketDefinition.LoggingWebsocket>
ch.tocco.nice2.devcon.impl.logging.LoggingWebsocketDefinition
- All Implemented Interfaces:
WebSocket<LoggingWebsocketDefinition.LoggingWebsocket>
@Component
public class LoggingWebsocketDefinition
extends AbstractWebsocketDefinition<LoggingWebsocketDefinition.LoggingWebsocket>
-
Nested Class Summary
-
Field Summary
Fields inherited from class ch.tocco.nice2.devcon.impl.socket.AbstractWebsocketDefinition
WEBSOCKET_BASE_PATH
Fields inherited from class ch.tocco.nice2.web.core.api.websocket.SecureWebsocket
BUSINESS_UNIT_KEY, CONTEXT_KEY, ORIGIN_ID_KEY
-
Constructor Summary
ConstructorDescriptionLoggingWebsocketDefinition
(WebsocketFactory websocketFactory, SecurityManager securityManager) -
Method Summary
Modifier and TypeMethodDescriptiondoCreateWebSocketInstance
(int idleTimeoutSeconds) protected String
getName()
Class
of the WebSocket implementation (must extend javax.websocket.Endpoint)Methods inherited from class ch.tocco.nice2.devcon.impl.socket.AbstractWebsocketDefinition
doCreateWebSocketInstance, getPath
Methods inherited from class ch.tocco.nice2.web.core.api.websocket.AnonymousWebsocket
allowAnonymous, getSecurityContext
Methods inherited from class ch.tocco.nice2.web.core.api.websocket.SecureWebsocket
createWebSocketInstance, onHandshake, onLogout, sendMessage, sendMessageToOrigin, sendMessageToUser
-
Constructor Details
-
LoggingWebsocketDefinition
public LoggingWebsocketDefinition(WebsocketFactory websocketFactory, @Lazy SecurityManager securityManager)
-
-
Method Details
-
getName
- Specified by:
getName
in classAbstractWebsocketDefinition<LoggingWebsocketDefinition.LoggingWebsocket>
-
doCreateWebSocketInstance
protected LoggingWebsocketDefinition.LoggingWebsocket doCreateWebSocketInstance(int idleTimeoutSeconds) - Specified by:
doCreateWebSocketInstance
in classAbstractWebsocketDefinition<LoggingWebsocketDefinition.LoggingWebsocket>
-
webSocketClass
Description copied from interface:WebSocket
Class
of the WebSocket implementation (must extend javax.websocket.Endpoint)
-