Class PreviewServerSettings

  • Direct Known Subclasses:
    PreviewServerSettingsImpl

    public abstract class PreviewServerSettings
    extends PreviewServerSettings
    Public API but not intended for subclassing

    Options that are in "preview" or "early access" mode. These options may change and/or be removed within patch releases without early notice (e.g. by moving them into a stable supported place).

    • Constructor Detail

      • PreviewServerSettings

        public PreviewServerSettings()
    • Method Detail

      • fromSubConfig

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

        public abstract boolean enableHttp2()
        Deprecated.
        Use ServerSettings.http2Enabled instead. Since 10.5.0.
        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
        Returns:
        (undocumented)