public class ServerSentEventHandler extends Object implements HttpHandler
Constructor and Description |
---|
ServerSentEventHandler() |
ServerSentEventHandler(ServerSentEventConnectionCallback callback) |
Modifier and Type | Method and Description |
---|---|
Set<ServerSentEventConnection> |
getConnections() |
void |
handleRequest(HttpServerExchange exchange)
Handle the request.
|
public ServerSentEventHandler(ServerSentEventConnectionCallback callback)
public ServerSentEventHandler()
public void handleRequest(HttpServerExchange exchange) throws Exception
HttpHandler
handleRequest
in interface HttpHandler
exchange
- the HTTP request/response exchangeException
public Set<ServerSentEventConnection> getConnections()
Copyright © 2019 JBoss by Red Hat. All rights reserved.