Packages

c

akka.http.javadsl.model.sse

ServerSentEvent

abstract class ServerSentEvent extends AnyRef

Representation of a server-sent event. According to the specification, an empty data field designates an event which is to be ignored which is useful for heartbeats.

Source
ServerSentEvent.java
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ServerSentEvent
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ServerSentEvent()

Abstract Value Members

  1. abstract def getData(): String

    Data, may span multiple lines.

  2. abstract def getEventType(): Optional[String]

    Optional type, must not contain \n or \r.

  3. abstract def getId(): Optional[String]

    Optional id, must not contain \n or \r.

  4. abstract def getRetry(): OptionalInt

    Optional reconnection delay in milliseconds.