public final class PreviewServerSettingsImpl extends PreviewServerSettings implements scala.Product, java.io.Serializable
Constructor and Description |
---|
PreviewServerSettingsImpl(boolean enableHttp2) |
Modifier and Type | Method and Description |
---|---|
static T |
apply(org.apache.pekko.actor.ActorSystem system) |
static T |
apply(com.typesafe.config.Config config) |
static T |
apply(java.lang.String configOverrides) |
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) |
protected static java.lang.String |
prefix() |
java.lang.String |
productPrefix() |
withEnableHttp2
create, create, create
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static PreviewServerSettingsImpl fromSubConfig(com.typesafe.config.Config root, com.typesafe.config.Config c)
protected static java.lang.String prefix()
public static T apply(org.apache.pekko.actor.ActorSystem system)
public static T apply(java.lang.String configOverrides)
public static T apply(com.typesafe.config.Config config)
public boolean enableHttp2()
PreviewServerSettings
pekko.http.scaladsl.HttpsConnectionContext
. Otherwise binds as plain HTTP.enableHttp2
in class PreviewServerSettings
public java.lang.String productPrefix()
productPrefix
in interface scala.Product