Package akka.http.impl.settings
Class PreviewServerSettingsImpl
- java.lang.Object
-
- akka.http.javadsl.settings.PreviewServerSettings
-
- akka.http.scaladsl.settings.PreviewServerSettings
-
- akka.http.impl.settings.PreviewServerSettingsImpl
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Product
public final class PreviewServerSettingsImpl extends PreviewServerSettings implements scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PreviewServerSettingsImpl(boolean enableHttp2)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static T
apply(akka.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 anHttpsConnectionContext
.static PreviewServerSettingsImpl
fromSubConfig(com.typesafe.config.Config root, com.typesafe.config.Config c)
protected static java.lang.String
prefix()
java.lang.String
productPrefix()
-
Methods inherited from class akka.http.scaladsl.settings.PreviewServerSettings
withEnableHttp2
-
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)
-
prefix
protected static java.lang.String prefix()
-
apply
public static T apply(akka.actor.ActorSystem system)
-
apply
public static T apply(java.lang.String configOverrides)
-
apply
public static T apply(com.typesafe.config.Config config)
-
enableHttp2
public boolean enableHttp2()
Description copied from class:PreviewServerSettings
Configures the Http extension to bind using HTTP/2 if given anHttpsConnectionContext
. Otherwise binds as plain HTTP.- Specified by:
enableHttp2
in classPreviewServerSettings
- Returns:
- (undocumented)
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefix
in interfacescala.Product
-
-