Class PreviewServerSettingsImpl

  • All Implemented Interfaces:, scala.Equals, scala.Product

    public final class PreviewServerSettingsImpl
    extends PreviewServerSettings
    implements scala.Product,
    See Also:
    Serialized Form
    • Constructor Detail

      • PreviewServerSettingsImpl

        public PreviewServerSettingsImpl​(boolean enableHttp2)
    • Method Detail

      • fromSubConfig

        public static PreviewServerSettingsImpl fromSubConfig​(com.typesafe.config.Config root,
                                                              com.typesafe.config.Config c)
      • prefix

        protected static java.lang.String prefix()
      • apply

        public static T apply​( system)
      • apply

        public static T apply​(java.lang.String configOverrides)
      • apply

        public static T apply​(com.typesafe.config.Config config)
      • enableHttp2

        public boolean enableHttp2()
        Description copied from class: PreviewServerSettings
        Configures the Http extension to bind using HTTP/2 if given an HttpsConnectionContext. Otherwise binds as plain HTTP.

        Please note that when using this mode of binding you MUST include "com.typesafe.akka" %% "akka-http2-support" % AkkaHttpVersion in your dependencies / classpath.

        Specified by:
        enableHttp2 in class PreviewServerSettings
      • productPrefix

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