public abstract class PreviewServerSettings
extends java.lang.Object
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 |
create(org.apache.pekko.actor.ActorSystem system) |
static PreviewServerSettings |
create(com.typesafe.config.Config config) |
static PreviewServerSettings |
create(java.lang.String configOverrides) |
abstract boolean |
enableHttp2()
Configures the Http extension to bind using HTTP/2 if given an
pekko.http.scaladsl.HttpsConnectionContext . |
PreviewServerSettings |
withEnableHttp2(boolean newValue) |
public static PreviewServerSettings create(com.typesafe.config.Config config)
public static PreviewServerSettings create(java.lang.String configOverrides)
public static PreviewServerSettings create(org.apache.pekko.actor.ActorSystem system)
public abstract boolean enableHttp2()
pekko.http.scaladsl.HttpsConnectionContext
. Otherwise binds as plain HTTP.public PreviewServerSettings withEnableHttp2(boolean newValue)