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.ObjectPublic 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 PreviewServerSettingscreate(akka.actor.ActorSystem system)static PreviewServerSettingscreate(com.typesafe.config.Config config)static PreviewServerSettingscreate(java.lang.String configOverrides)abstract booleanenableHttp2()Configures the Http extension to bind using HTTP/2 if given anHttpsConnectionContext.PreviewServerSettingswithEnableHttp2(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)
-
-