Package io.mangoo.routing.handlers
Class ServerSentEventHandler
- java.lang.Object
-
- io.mangoo.routing.handlers.ServerSentEventHandler
-
- All Implemented Interfaces:
io.undertow.server.handlers.sse.ServerSentEventConnectionCallback
public class ServerSentEventHandler extends Object implements io.undertow.server.handlers.sse.ServerSentEventConnectionCallback
- Author:
- svenkubiak
-
-
Constructor Summary
Constructors Constructor Description ServerSentEventHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconnected(io.undertow.server.handlers.sse.ServerSentEventConnection connection, String lastEventId)ServerSentEventHandlerwithAuthentication(boolean hasAuthentication)
-
-
-
Method Detail
-
withAuthentication
public ServerSentEventHandler withAuthentication(boolean hasAuthentication)
-
connected
public void connected(io.undertow.server.handlers.sse.ServerSentEventConnection connection, String lastEventId)- Specified by:
connectedin interfaceio.undertow.server.handlers.sse.ServerSentEventConnectionCallback
-
-