| Constructor | Description |
|---|---|
EventTarget(javax.servlet.http.HttpServletRequest req) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
SSEHelper.EventTarget |
ok() |
|
SSEHelper.EventTarget |
open() |
|
SSEHelper.EventTarget |
send(String event,
String data) |
|
SSEHelper.EventTarget |
send(SSEHelper.MessageEvent messageEvent) |
public SSEHelper.EventTarget ok()
public SSEHelper.EventTarget open() throws IOException
IOExceptionpublic SSEHelper.EventTarget send(String event, String data) throws IOException
IOExceptionpublic SSEHelper.EventTarget send(SSEHelper.MessageEvent messageEvent) throws IOException
IOExceptionpublic void close()
Copyright © 2019. All rights reserved.