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, withMaxEventSize
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public 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()
ServerSentEventSettings
maxEventSize
in class ServerSentEventSettings
public int maxLineSize()
ServerSentEventSettings
maxLineSize
in class ServerSentEventSettings
public boolean emitEmptyEvents()
ServerSentEventSettings
emitEmptyEvents
in class ServerSentEventSettings
public java.lang.String productPrefix()
productPrefix
in interface scala.Product