Class HttpEventStreamClient.Event
- java.lang.Object
-
- io.quarkiverse.githubapp.runtime.sse.HttpEventStreamClient.Event
-
- Enclosing class:
- HttpEventStreamClient
public class HttpEventStreamClient.Event extends Object
Event that gets received by theHttpEventStreamClient- Since:
- 2020-12-22
- Author:
- LupCode.com (Luca Vogels)
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetData()Data that has been received (UTF-8)StringgetEvent()Event type/description that has been received (can be null)longgetID()Returns the ID of the event that has been received (same asHttpEventStreamClient.getLastEventID()StringtoString()
-
-
-
Method Detail
-
getID
public long getID()
Returns the ID of the event that has been received (same asHttpEventStreamClient.getLastEventID()- Returns:
- ID of received event
-
getEvent
public String getEvent()
Event type/description that has been received (can be null)- Returns:
- Type/description of the event or null
-
getData
public String getData()
Data that has been received (UTF-8)- Returns:
- Received data
-
-