@groovy.transform.CompileStatic class SseResult extends java.lang.Object
A Server Sent Events event that can be written to an event stream
Type | Name and description |
---|---|
static java.lang.String |
DATA_PREFIX |
static java.lang.String |
EVENT_PREFIX |
static java.lang.String |
ID_PREFIX |
static java.lang.String |
RETRY_PREFIX |
java.lang.String |
comment |
groovy.lang.Writable |
data |
java.lang.String |
event |
java.lang.String |
id |
java.lang.Long |
retry |
Type | Name and description |
---|---|
static java.lang.String |
toSseString(java.lang.String input) |
java.io.Writer |
writeTo(java.io.Writer out) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |