Package ai.platon.pulsar.skeleton.event
Class ServerSideEvent
-
- All Implemented Interfaces:
public final class ServerSideEventServer-side event data structure.
-
-
Method Summary
Modifier and Type Method Description final StringgetEventType()The type of the event (e.g., "onWillLoad", "onFetched", "onHTMLDocumentParsed"). final StringgetEventPhase()The phase of the event (e.g., "browser", "load", "browse"). final StringgetUrl()The URL associated with the event, if applicable. final StringgetMessage()Optional message or description of the event. final InstantgetTimestamp()The timestamp when the event was created. final Map<String, Object>getMetadata()Additional metadata associated with the event. -
-
Method Detail
-
getEventType
final String getEventType()
The type of the event (e.g., "onWillLoad", "onFetched", "onHTMLDocumentParsed").
-
getEventPhase
final String getEventPhase()
The phase of the event (e.g., "browser", "load", "browse").
-
getMessage
final String getMessage()
Optional message or description of the event.
-
getTimestamp
final Instant getTimestamp()
The timestamp when the event was created.
-
getMetadata
final Map<String, Object> getMetadata()
Additional metadata associated with the event.
-
-
-
-