Class SqlLoggingWebsocketDefinition
java.lang.Object
ch.tocco.nice2.web.core.api.websocket.SecureWebsocket<SqlLoggingWebsocketDefinition.SqlLoggingWebsocket>
ch.tocco.nice2.web.core.api.websocket.AnonymousWebsocket<SqlLoggingWebsocketDefinition.SqlLoggingWebsocket>
ch.tocco.nice2.devcon.impl.socket.AbstractWebsocketDefinition<SqlLoggingWebsocketDefinition.SqlLoggingWebsocket>
ch.tocco.nice2.devcon.impl.sqllogging.SqlLoggingWebsocketDefinition
- All Implemented Interfaces:
WebSocket<SqlLoggingWebsocketDefinition.SqlLoggingWebsocket>
@Component
public class SqlLoggingWebsocketDefinition
extends AbstractWebsocketDefinition<SqlLoggingWebsocketDefinition.SqlLoggingWebsocket>
-
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
ConstructorDescriptionSqlLoggingWebsocketDefinition
(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
-
SqlLoggingWebsocketDefinition
public SqlLoggingWebsocketDefinition(WebsocketFactory websocketFactory, @Lazy SecurityManager securityManager)
-
-
Method Details
-
getName
- Specified by:
getName
in classAbstractWebsocketDefinition<SqlLoggingWebsocketDefinition.SqlLoggingWebsocket>
-
doCreateWebSocketInstance
protected SqlLoggingWebsocketDefinition.SqlLoggingWebsocket doCreateWebSocketInstance(int idleTimeoutSeconds) - Specified by:
doCreateWebSocketInstance
in classAbstractWebsocketDefinition<SqlLoggingWebsocketDefinition.SqlLoggingWebsocket>
-
webSocketClass
Description copied from interface:WebSocket
Class
of the WebSocket implementation (must extend javax.websocket.Endpoint)
-