Package io.micronaut.session.websocket
Class SessionWebSocketEventListener
java.lang.Object
io.micronaut.session.websocket.SessionWebSocketEventListener
- All Implemented Interfaces:
io.micronaut.context.event.ApplicationEventListener<io.micronaut.websocket.event.WebSocketEvent>
,EventListener
@Requires(classes=io.micronaut.websocket.event.WebSocketEvent.class) @Requires(beans=SessionStore.class)
@Singleton
@Internal
public class SessionWebSocketEventListener
extends Object
implements io.micronaut.context.event.ApplicationEventListener<io.micronaut.websocket.event.WebSocketEvent>
Persists the session in the background on web socket events.
- Since:
- 1.0
- Author:
- graemerocher
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onApplicationEvent
(io.micronaut.websocket.event.WebSocketEvent event) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.context.event.ApplicationEventListener
supports
-
Method Details
-
onApplicationEvent
public void onApplicationEvent(io.micronaut.websocket.event.WebSocketEvent event) - Specified by:
onApplicationEvent
in interfaceio.micronaut.context.event.ApplicationEventListener<io.micronaut.websocket.event.WebSocketEvent>
-