Class PreviewServerSettingsImpl
java.lang.Object
org.apache.pekko.http.javadsl.settings.PreviewServerSettings
org.apache.pekko.http.scaladsl.settings.PreviewServerSettings
org.apache.pekko.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic T
apply
(com.typesafe.config.Config config) static T
static T
apply
(org.apache.pekko.actor.ActorSystem system) boolean
Configures the Http extension to bind using HTTP/2 if given anpekko.http.scaladsl.HttpsConnectionContext
.static PreviewServerSettingsImpl
fromSubConfig
(com.typesafe.config.Config root, com.typesafe.config.Config c) protected static String
prefix()
Methods inherited from class org.apache.pekko.http.scaladsl.settings.PreviewServerSettings
withEnableHttp2
Methods inherited from class org.apache.pekko.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(org.apache.pekko.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 anpekko.http.scaladsl.HttpsConnectionContext
. Otherwise binds as plain HTTP.- Specified by:
enableHttp2
in classPreviewServerSettings
- Returns:
- (undocumented)
-
productPrefix
- Specified by:
productPrefix
in interfacescala.Product
-