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 Tapply(akka.actor.ActorSystem system)static Tapply(com.typesafe.config.Config config)static Tapply(java.lang.String configOverrides)booleanenableHttp2()Configures the Http extension to bind using HTTP/2 if given anHttpsConnectionContext.static PreviewServerSettingsImplfromSubConfig(com.typesafe.config.Config root, com.typesafe.config.Config c)protected static java.lang.Stringprefix()java.lang.StringproductPrefix()-
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:PreviewServerSettingsConfigures the Http extension to bind using HTTP/2 if given anHttpsConnectionContext. Otherwise binds as plain HTTP.- Specified by:
enableHttp2in classPreviewServerSettings- Returns:
- (undocumented)
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefixin interfacescala.Product
-
-