PreviewServerSettings

akka.http.scaladsl.settings.PreviewServerSettings
See thePreviewServerSettings companion object

Public API but not intended for subclassing

Options 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).

Attributes

Companion
object
Source
PreviewServerSettings.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
PreviewServerSettingsImpl

Members list

Value members

Deprecated methods

override def enableHttp2: Boolean

Configures the Http extension to bind using HTTP/2 if given an akka.http.scaladsl.HttpsConnectionContext. Otherwise binds as plain HTTP.

Configures the Http extension to bind using HTTP/2 if given an akka.http.scaladsl.HttpsConnectionContext. Otherwise binds as plain HTTP.

Attributes

Deprecated
[Since version 10.5.0] Use ServerSettings.http2Enabled instead
Definition Classes
Source
PreviewServerSettings.scala
override def withEnableHttp2(newValue: Boolean): PreviewServerSettings

Attributes

Deprecated
[Since version 10.5.0] Use ServerSettings.withHttp2Enabled instead
Definition Classes
Source
PreviewServerSettings.scala