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:
Serializable
,scala.Equals
,scala.Product
public final class PreviewServerSettingsImpl
extends PreviewServerSettings
implements scala.Product, Serializable
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic T
apply
(akka.actor.ActorSystem system) static T
apply
(com.typesafe.config.Config config) static T
boolean
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 String
prefix()
Methods inherited from class akka.http.scaladsl.settings.PreviewServerSettings
withEnableHttp2
Methods inherited from class akka.http.javadsl.settings.PreviewServerSettings
create, create, create
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface scala.Equals
canEqual, equals
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator
-
Constructor Details
-
PreviewServerSettingsImpl
public PreviewServerSettingsImpl(boolean enableHttp2)
-
-
Method Details
-
fromSubConfig
public static PreviewServerSettingsImpl fromSubConfig(com.typesafe.config.Config root, com.typesafe.config.Config c) -
prefix
-
apply
public static T apply(akka.actor.ActorSystem system) -
apply
-
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.Please note that when using this mode of binding you MUST include
"com.typesafe.akka" %% "akka-http2-support" % AkkaHttpVersion
in your dependencies / classpath.- Specified by:
enableHttp2
in classPreviewServerSettings
- Returns:
- (undocumented)
-
productPrefix
- Specified by:
productPrefix
in interfacescala.Product
-