Class 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 events
      int maxLineSize()
      The maximum size for parsing lines of a server-sent event
      protected static java.lang.String prefix()  
      java.lang.String productPrefix()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface scala.Equals

        canEqual, equals
      • Methods inherited from interface scala.Product

        productArity, productElement, productElementName, productElementNames, productIterator
    • Constructor Detail

      • ServerSentEventSettingsImpl

        public ServerSentEventSettingsImpl​(int maxEventSize,
                                           int maxLineSize,
                                           boolean emitEmptyEvents)
    • 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)
      • productPrefix

        public java.lang.String productPrefix()
        Specified by:
        productPrefix in interface scala.Product