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
HttpHandlerhandleRequest in interface HttpHandlerexchange - the HTTP request/response exchangeExceptionpublic Set<ServerSentEventConnection> getConnections()
Copyright © 2017 JBoss by Red Hat. All rights reserved.