Packages

c

org.apache.pekko.http.javadsl.settings

ServerSentEventSettings

abstract class ServerSentEventSettings extends AnyRef

Public API but not intended for subclassing

Options that are in "preview" or "early access" mode. These options may change and/or be removed within patch releases without early notice (e.g. by moving them into a stable supported place).

Self Type
ServerSentEventSettingsImpl
Annotations
@ApiMayChange() @DoNotInherit()
Source
ServerSentEventSettings.scala
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ServerSentEventSettings
  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. Protected

Abstract Value Members

  1. abstract def emitEmptyEvents: Boolean

    Should events with empty data field be passed to the application.

  2. abstract def maxEventSize: Int

    The maximum size for parsing server-sent events

  3. abstract def maxLineSize: Int

    The maximum size for parsing lines of a server-sent event

Concrete Value Members

  1. def withEmitEmptyEvents(newValue: Boolean): ServerSentEventSettings
  2. def withLineLength(newValue: Int): ServerSentEventSettings
  3. def withMaxEventSize(newValue: Int): ServerSentEventSettings