public final class ServerSentEventSettingsImpl extends ServerSentEventSettings implements scala.Product, java.io.Serializable
| Constructor and Description |
|---|
ServerSentEventSettingsImpl(int maxEventSize,
int maxLineSize,
boolean emitEmptyEvents) |
| Modifier and Type | Method and Description |
|---|---|
static T |
apply(org.apache.pekko.actor.ActorSystem system) |
static T |
apply(com.typesafe.config.Config config) |
static T |
apply(java.lang.String configOverrides) |
boolean |
emitEmptyEvents()
Should events with empty data field be passed to the application.
|
static ServerSentEventSettingsImpl |
fromSubConfig(com.typesafe.config.Config root,
com.typesafe.config.Config c) |
int |
maxEventSize()
The maximum size for parsing server-sent events
|
int |
maxLineSize()
The maximum size for parsing lines of a server-sent event
|
protected static java.lang.String |
prefix() |
java.lang.String |
productPrefix() |
withEmitEmptyEvents, withLineLength, withMaxEventSizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic ServerSentEventSettingsImpl(int maxEventSize,
int maxLineSize,
boolean emitEmptyEvents)
public static ServerSentEventSettingsImpl fromSubConfig(com.typesafe.config.Config root, com.typesafe.config.Config c)
protected static java.lang.String prefix()
public static T apply(org.apache.pekko.actor.ActorSystem system)
public static T apply(java.lang.String configOverrides)
public static T apply(com.typesafe.config.Config config)
public int maxEventSize()
ServerSentEventSettingsmaxEventSize in class ServerSentEventSettingspublic int maxLineSize()
ServerSentEventSettingsmaxLineSize in class ServerSentEventSettingspublic boolean emitEmptyEvents()
ServerSentEventSettingsemitEmptyEvents in class ServerSentEventSettingspublic java.lang.String productPrefix()
productPrefix in interface scala.Product