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 Tapply(akka.actor.ActorSystem system)static Tapply(com.typesafe.config.Config config)static Tapply(java.lang.String configOverrides)booleanemitEmptyEvents()Should events with empty data field be passed to the application.static ServerSentEventSettingsImplfromSubConfig(com.typesafe.config.Config root, com.typesafe.config.Config c)intmaxEventSize()The maximum size for parsing server-sent eventsintmaxLineSize()The maximum size for parsing lines of a server-sent eventprotected static java.lang.Stringprefix()java.lang.StringproductPrefix()-
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:ServerSentEventSettingsThe maximum size for parsing server-sent events- Specified by:
maxEventSizein classServerSentEventSettings- Returns:
- (undocumented)
-
maxLineSize
public int maxLineSize()
Description copied from class:ServerSentEventSettingsThe maximum size for parsing lines of a server-sent event- Specified by:
maxLineSizein classServerSentEventSettings- Returns:
- (undocumented)
-
emitEmptyEvents
public boolean emitEmptyEvents()
Description copied from class:ServerSentEventSettingsShould events with empty data field be passed to the application.- Specified by:
emitEmptyEventsin classServerSentEventSettings- Returns:
- (undocumented)
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefixin interfacescala.Product
-
-