public abstract class PreviewServerSettings extends PreviewServerSettings
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 and Description |
|---|
PreviewServerSettings() |
| Modifier and Type | Method and Description |
|---|---|
static PreviewServerSettings |
apply(com.typesafe.config.Config config) |
static PreviewServerSettings |
apply(java.lang.String configOverrides) |
abstract boolean |
enableHttp2()
Configures the Http extension to bind using HTTP/2 if given an
pekko.http.scaladsl.HttpsConnectionContext. |
static PreviewServerSettingsImpl |
fromSubConfig(com.typesafe.config.Config root,
com.typesafe.config.Config c) |
PreviewServerSettings |
withEnableHttp2(boolean newValue) |
create, create, createpublic static PreviewServerSettingsImpl fromSubConfig(com.typesafe.config.Config root, com.typesafe.config.Config c)
public static PreviewServerSettings apply(com.typesafe.config.Config config)
public static PreviewServerSettings apply(java.lang.String configOverrides)
public abstract boolean enableHttp2()
PreviewServerSettingspekko.http.scaladsl.HttpsConnectionContext. Otherwise binds as plain HTTP.enableHttp2 in class PreviewServerSettingspublic PreviewServerSettings withEnableHttp2(boolean newValue)
withEnableHttp2 in class PreviewServerSettings