Class HttpEventStreamClient.Event
java.lang.Object
io.quarkiverse.githubapp.runtime.sse.HttpEventStreamClient.Event
- Enclosing class:
- HttpEventStreamClient
Event that gets received by the
HttpEventStreamClient- Since:
- 2020-12-22
- Author:
- LupCode.com (Luca Vogels)
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Event
-
-
Method Details
-
getID
public long getID()Returns the ID of the event that has been received (same asHttpEventStreamClient.getLastEventID()- Returns:
- ID of received event
-
getEvent
Event type/description that has been received (can be null)- Returns:
- Type/description of the event or null
-
getData
Data that has been received (UTF-8)- Returns:
- Received data
-
toString
-