| Modifier and Type | Field and Description |
|---|---|
| private final ServerSentEventConnectionCallback | |
| private final Set | |
| private static final HttpString |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Set | |
| private void | |
| public void | handleRequest(final HttpServerExchange
the HTTP request/response exchange exchange)Implements io. Handle the request. |
| callback | back to summary |
|---|---|
| private final ServerSentEventConnectionCallback callback | |
| connections | back to summary |
|---|---|
| private final Set<ServerSentEventConnection> connections | |
| LAST_EVENT_ID | back to summary |
|---|---|
| private static final HttpString LAST_EVENT_ID | |
| ServerSentEventHandler | back to summary |
|---|---|
| public ServerSentEventHandler(ServerSentEventConnectionCallback callback) | |
| ServerSentEventHandler | back to summary |
|---|---|
| public ServerSentEventHandler() | |
| getConnections | back to summary |
|---|---|
| public Set | |
| handleConnect | back to summary |
|---|---|
| private void handleConnect(StreamSinkChannel channel, HttpServerExchange exchange) | |
| handleRequest | back to summary |
|---|---|
| public void handleRequest(final HttpServerExchange exchange) throws Exception Implements io. Doc from io. Handle the request.
| |