Package akka.http.impl.settings
Class ServerSentEventSettingsImpl
- java.lang.Object
-
- akka.http.javadsl.settings.ServerSentEventSettings
-
- akka.http.scaladsl.settings.ServerSentEventSettings
-
- akka.http.impl.settings.ServerSentEventSettingsImpl
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Product
public final class ServerSentEventSettingsImpl extends ServerSentEventSettings implements scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServerSentEventSettingsImpl(int maxEventSize, int maxLineSize, boolean emitEmptyEvents)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static T
apply(akka.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 eventsint
maxLineSize()
The maximum size for parsing lines of a server-sent eventprotected static java.lang.String
prefix()
java.lang.String
productPrefix()
-
Methods inherited from class akka.http.scaladsl.settings.ServerSentEventSettings
withEmitEmptyEvents, withLineLength, withMaxEventSize
-
-
-
-
Method Detail
-
fromSubConfig
public static ServerSentEventSettingsImpl fromSubConfig(com.typesafe.config.Config root, com.typesafe.config.Config c)
-
prefix
protected static java.lang.String prefix()
-
apply
public static T apply(akka.actor.ActorSystem system)
-
apply
public static T apply(java.lang.String configOverrides)
-
apply
public static T apply(com.typesafe.config.Config config)
-
maxEventSize
public int maxEventSize()
Description copied from class:ServerSentEventSettings
The maximum size for parsing server-sent events- Specified by:
maxEventSize
in classServerSentEventSettings
- Returns:
- (undocumented)
-
maxLineSize
public int maxLineSize()
Description copied from class:ServerSentEventSettings
The maximum size for parsing lines of a server-sent event- Specified by:
maxLineSize
in classServerSentEventSettings
- Returns:
- (undocumented)
-
emitEmptyEvents
public boolean emitEmptyEvents()
Description copied from class:ServerSentEventSettings
Should events with empty data field be passed to the application.- Specified by:
emitEmptyEvents
in classServerSentEventSettings
- Returns:
- (undocumented)
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefix
in interfacescala.Product
-
-