Package akka.http.scaladsl.settings
Class PreviewServerSettings
- java.lang.Object
-
- akka.http.javadsl.settings.PreviewServerSettings
-
- akka.http.scaladsl.settings.PreviewServerSettings
-
- Direct Known Subclasses:
PreviewServerSettingsImpl
public abstract class PreviewServerSettings extends PreviewServerSettings
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 Deprecated Methods Modifier and Type Method Description static PreviewServerSettingsapply(com.typesafe.config.Config config)static PreviewServerSettingsapply(java.lang.String configOverrides)abstract booleanenableHttp2()Deprecated.Use ServerSettings.http2Enabled instead.static PreviewServerSettingsImplfromSubConfig(com.typesafe.config.Config root, com.typesafe.config.Config c)PreviewServerSettingswithEnableHttp2(boolean newValue)Deprecated.Use ServerSettings.withHttp2Enabled instead.-
Methods inherited from class akka.http.javadsl.settings.PreviewServerSettings
create, create, create
-
-
-
-
Method Detail
-
fromSubConfig
public static PreviewServerSettingsImpl fromSubConfig(com.typesafe.config.Config root, com.typesafe.config.Config c)
-
apply
public static PreviewServerSettings apply(com.typesafe.config.Config config)
-
apply
public static PreviewServerSettings apply(java.lang.String configOverrides)
-
enableHttp2
public abstract boolean enableHttp2()
Deprecated.Use ServerSettings.http2Enabled instead. Since 10.5.0.Description copied from class:PreviewServerSettingsConfigures the Http extension to bind using HTTP/2 if given anHttpsConnectionContext. Otherwise binds as plain HTTP.- Specified by:
enableHttp2in classPreviewServerSettings- Returns:
- (undocumented)
-
withEnableHttp2
public PreviewServerSettings withEnableHttp2(boolean newValue)
Deprecated.Use ServerSettings.withHttp2Enabled instead. Since 10.5.0.- Overrides:
withEnableHttp2in classPreviewServerSettings
-
-