@Unstable public class SseEvent extends Object
| Constructor and Description |
|---|
SseEvent() |
SseEvent(JsonObject json) |
SseEvent(SseEvent other) |
SseEvent(String id,
String event,
String data,
int retry) |
| Modifier and Type | Method and Description |
|---|---|
String |
data()
Returns the payload of the event.
|
boolean |
equals(Object o) |
String |
event()
Returns the type of the event.
|
int |
hashCode() |
String |
id()
Returns the event id.
|
int |
retry()
Returns the reconnection time.
|
String |
toString() |
public SseEvent()
public SseEvent(JsonObject json)
public SseEvent(SseEvent other)
public String id()
public String event()
public String data()
public int retry()
Copyright © 2025 Eclipse. All rights reserved.