Package akka.http.javadsl.settings
Class PreviewServerSettings
- java.lang.Object
-
- akka.http.javadsl.settings.PreviewServerSettings
-
- Direct Known Subclasses:
PreviewServerSettings
public abstract class PreviewServerSettings extends java.lang.Object
Public API but not intended for subclassingOptions 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 Summary
Constructors Constructor Description PreviewServerSettings()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static PreviewServerSettings
create(akka.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 anHttpsConnectionContext
.PreviewServerSettings
withEnableHttp2(boolean newValue)
-
-
-
Method Detail
-
create
public static PreviewServerSettings create(com.typesafe.config.Config config)
-
create
public static PreviewServerSettings create(java.lang.String configOverrides)
-
create
public static PreviewServerSettings create(akka.actor.ActorSystem system)
-
enableHttp2
public abstract boolean enableHttp2()
Configures the Http extension to bind using HTTP/2 if given anHttpsConnectionContext
. Otherwise binds as plain HTTP.- Returns:
- (undocumented)
-
withEnableHttp2
public PreviewServerSettings withEnableHttp2(boolean newValue)
-
-