Packages

abstract class ServerSettings extends javadsl.settings.ServerSettings

Public API but not intended for subclassing

Self Type
ServerSettingsImpl
Annotations
@DoNotInherit()
Source
ServerSettings.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ServerSettings
  2. ServerSettings
  3. AnyRef
  4. Any
Implicitly
  1. by timeoutsShortcut
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def backlog: Int
  2. abstract def defaultHostHeader: Host
  3. abstract def defaultHttpPort: Int
  4. abstract def defaultHttpsPort: Int
  5. abstract def http2Settings: Http2ServerSettings
  6. abstract def logUnencryptedNetworkBytes: Option[Int]
  7. abstract def maxConnections: Int
  8. abstract def parserSettings: ParserSettings
  9. abstract def parsingErrorHandler: String
  10. abstract def pipeliningLimit: Int
  11. abstract def previewServerSettings: PreviewServerSettings
  12. abstract def rawRequestUriHeader: Boolean
  13. abstract def remoteAddressAttribute: Boolean
  14. abstract def responseHeaderSizeHint: Int
  15. abstract def serverHeader: Option[Server]
  16. abstract def socketOptions: Seq[SocketOption]
  17. abstract def streamCancellationDelay: FiniteDuration
  18. abstract def terminationDeadlineExceededResponse: HttpResponse
  19. abstract def timeouts: Timeouts
  20. abstract def transparentHeadRequests: Boolean
  21. abstract def verboseErrorMessages: Boolean
  22. abstract def websocketSettings: WebSocketSettings
  23. abstract def remoteAddressHeader: Boolean
    Annotations
    @deprecated
    Deprecated

    (Since version Akka HTTP 10.2.0) use remote-address-attribute instead

  24. abstract def websocketRandomFactory: () => Random
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version Akka HTTP 10.1.1) Kept for binary compatibility; Use websocketSettings.randomFactory instead

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from ServerSettings toany2stringadd[ServerSettings] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ServerSettings, B)
    Implicit
    This member is added by an implicit conversion from ServerSettings toArrowAssoc[ServerSettings] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def bindTimeout: FiniteDuration
    Implicit
    This member is added by an implicit conversion from ServerSettings toTimeouts performed by method timeoutsShortcut in org.apache.pekko.http.scaladsl.settings.ServerSettings.
    Definition Classes
    Timeouts
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. def ensuring(cond: (ServerSettings) => Boolean, msg: => Any): ServerSettings
    Implicit
    This member is added by an implicit conversion from ServerSettings toEnsuring[ServerSettings] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: (ServerSettings) => Boolean): ServerSettings
    Implicit
    This member is added by an implicit conversion from ServerSettings toEnsuring[ServerSettings] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean, msg: => Any): ServerSettings
    Implicit
    This member is added by an implicit conversion from ServerSettings toEnsuring[ServerSettings] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean): ServerSettings
    Implicit
    This member is added by an implicit conversion from ServerSettings toEnsuring[ServerSettings] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  16. def getBacklog: Int
    Definition Classes
    ServerSettingsServerSettings
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def getDefaultHostHeader: Host
    Definition Classes
    ServerSettingsServerSettings
  19. def getDefaultHttpPort: Int
    Definition Classes
    ServerSettingsServerSettings
  20. def getDefaultHttpsPort: Int
    Definition Classes
    ServerSettingsServerSettings
  21. def getHttp2Settings: javadsl.settings.Http2ServerSettings
    Definition Classes
    ServerSettings
  22. def getLogUnencryptedNetworkBytes: Optional[Int]
    Definition Classes
    ServerSettingsServerSettings
  23. def getMaxConnections: Int
    Definition Classes
    ServerSettingsServerSettings
  24. def getParserSettings: javadsl.settings.ParserSettings
    Definition Classes
    ServerSettingsServerSettings
  25. def getParsingErrorHandler: String
    Definition Classes
    ServerSettingsServerSettings
  26. def getPipeliningLimit: Int
    Definition Classes
    ServerSettingsServerSettings
  27. def getPreviewServerSettings: javadsl.settings.PreviewServerSettings
    Definition Classes
    ServerSettingsServerSettings
  28. def getRawRequestUriHeader: Boolean
    Definition Classes
    ServerSettingsServerSettings
  29. def getRemoteAddressAttribute: Boolean
    Definition Classes
    ServerSettingsServerSettings
  30. def getResponseHeaderSizeHint: Int
    Definition Classes
    ServerSettingsServerSettings
  31. def getServerHeader: Optional[Server]
    Definition Classes
    ServerSettingsServerSettings
  32. def getSocketOptions: List[SocketOption]
    Definition Classes
    ServerSettingsServerSettings
  33. def getStreamCancellationDelay: FiniteDuration
    Definition Classes
    ServerSettingsServerSettings
  34. def getTerminationDeadlineExceededResponse: HttpResponse
    Definition Classes
    ServerSettingsServerSettings
  35. def getTimeouts: Timeouts
    Definition Classes
    ServerSettingsServerSettings
  36. def getTransparentHeadRequests: Boolean
    Definition Classes
    ServerSettingsServerSettings
  37. def getVerboseErrorMessages: Boolean
    Definition Classes
    ServerSettingsServerSettings
  38. def getWebsocketSettings: WebSocketSettings
    Definition Classes
    ServerSettingsServerSettings
  39. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  40. def idleTimeout: Duration
    Implicit
    This member is added by an implicit conversion from ServerSettings toTimeouts performed by method timeoutsShortcut in org.apache.pekko.http.scaladsl.settings.ServerSettings.
    Definition Classes
    Timeouts
  41. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  42. def lingerTimeout: Duration
    Implicit
    This member is added by an implicit conversion from ServerSettings toTimeouts performed by method timeoutsShortcut in org.apache.pekko.http.scaladsl.settings.ServerSettings.
    Definition Classes
    Timeouts
  43. def mapHttp2Settings(f: (Http2ServerSettings) => Http2ServerSettings): ServerSettings
  44. def mapParserSettings(f: (ParserSettings) => ParserSettings): ServerSettings
  45. def mapPreviewServerSettings(f: (PreviewServerSettings) => PreviewServerSettings): ServerSettings
  46. def mapTimeouts(f: (Timeouts) => Timeouts): ServerSettings
  47. def mapWebsocketSettings(f: (WebSocketSettings) => WebSocketSettings): ServerSettings
  48. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  49. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  50. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  51. def requestTimeout: Duration
    Implicit
    This member is added by an implicit conversion from ServerSettings toTimeouts performed by method timeoutsShortcut in org.apache.pekko.http.scaladsl.settings.ServerSettings.
    Definition Classes
    Timeouts
  52. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  53. def toString(): String
    Definition Classes
    AnyRef → Any
  54. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  55. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  56. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  57. def withBacklog(newValue: Int): ServerSettings
    Definition Classes
    ServerSettingsServerSettings
  58. def withBindTimeout(newValue: FiniteDuration): Timeouts
    Implicit
    This member is added by an implicit conversion from ServerSettings toTimeouts performed by method timeoutsShortcut in org.apache.pekko.http.scaladsl.settings.ServerSettings.
    Definition Classes
    TimeoutsTimeouts
  59. def withDefaultHostHeader(newValue: Host): ServerSettings
  60. def withDefaultHostHeader(newValue: Host): javadsl.settings.ServerSettings
    Definition Classes
    ServerSettings
  61. def withDefaultHttpPort(newValue: Int): ServerSettings
    Definition Classes
    ServerSettingsServerSettings
  62. def withDefaultHttpsPort(newValue: Int): ServerSettings
    Definition Classes
    ServerSettingsServerSettings
  63. def withHttp2Settings(newValue: Http2ServerSettings): ServerSettings
  64. def withHttp2Settings(newValue: javadsl.settings.Http2ServerSettings): javadsl.settings.ServerSettings
    Definition Classes
    ServerSettings
  65. def withIdleTimeout(newValue: Duration): Timeouts
    Implicit
    This member is added by an implicit conversion from ServerSettings toTimeouts performed by method timeoutsShortcut in org.apache.pekko.http.scaladsl.settings.ServerSettings.
    Definition Classes
    TimeoutsTimeouts
  66. def withLingerTimeout(newValue: Duration): Timeouts
    Implicit
    This member is added by an implicit conversion from ServerSettings toTimeouts performed by method timeoutsShortcut in org.apache.pekko.http.scaladsl.settings.ServerSettings.
    Definition Classes
    TimeoutsTimeouts
  67. def withLogUnencryptedNetworkBytes(newValue: Option[Int]): ServerSettings
  68. def withLogUnencryptedNetworkBytes(newValue: Optional[Int]): javadsl.settings.ServerSettings
    Definition Classes
    ServerSettings
  69. def withMaxConnections(newValue: Int): ServerSettings
    Definition Classes
    ServerSettingsServerSettings
  70. def withParserSettings(newValue: ParserSettings): ServerSettings
  71. def withParserSettings(newValue: javadsl.settings.ParserSettings): javadsl.settings.ServerSettings
    Definition Classes
    ServerSettings
  72. def withParsingErrorHandler(newValue: String): ServerSettings
    Definition Classes
    ServerSettingsServerSettings
  73. def withPipeliningLimit(newValue: Int): ServerSettings
    Definition Classes
    ServerSettingsServerSettings
  74. def withPreviewServerSettings(newValue: PreviewServerSettings): ServerSettings
  75. def withPreviewServerSettings(newValue: javadsl.settings.PreviewServerSettings): javadsl.settings.ServerSettings
    Definition Classes
    ServerSettings
  76. def withRawRequestUriHeader(newValue: Boolean): ServerSettings
    Definition Classes
    ServerSettingsServerSettings
  77. def withRemoteAddressAttribute(newValue: Boolean): ServerSettings
    Definition Classes
    ServerSettingsServerSettings
  78. def withRemoteAddressHeader(newValue: Boolean): ServerSettings
    Definition Classes
    ServerSettingsServerSettings
  79. def withRequestTimeout(newValue: Duration): Timeouts
    Implicit
    This member is added by an implicit conversion from ServerSettings toTimeouts performed by method timeoutsShortcut in org.apache.pekko.http.scaladsl.settings.ServerSettings.
    Definition Classes
    TimeoutsTimeouts
  80. def withResponseHeaderSizeHint(newValue: Int): ServerSettings
    Definition Classes
    ServerSettingsServerSettings
  81. def withServerHeader(newValue: Option[Server]): ServerSettings
  82. def withServerHeader(newValue: Optional[Server]): javadsl.settings.ServerSettings
    Definition Classes
    ServerSettings
  83. def withSocketOptions(newValue: Seq[SocketOption]): ServerSettings
  84. def withSocketOptions(newValue: Iterable[SocketOption]): ServerSettings
    Definition Classes
    ServerSettingsServerSettings
  85. def withStreamCancellationDelay(newValue: FiniteDuration): ServerSettings
    Definition Classes
    ServerSettingsServerSettings
  86. def withTerminationDeadlineExceededResponse(response: HttpResponse): ServerSettings
    Definition Classes
    ServerSettingsServerSettings
  87. def withTimeouts(newValue: Timeouts): ServerSettings
  88. def withTimeouts(newValue: Timeouts): javadsl.settings.ServerSettings
    Definition Classes
    ServerSettings
  89. def withTransparentHeadRequests(newValue: Boolean): ServerSettings
    Definition Classes
    ServerSettingsServerSettings
  90. def withVerboseErrorMessages(newValue: Boolean): ServerSettings
    Definition Classes
    ServerSettingsServerSettings
  91. def withWebsocketSettings(newValue: WebSocketSettings): ServerSettings
  92. def withWebsocketSettings(newValue: javadsl.settings.WebSocketSettings): javadsl.settings.ServerSettings
    Definition Classes
    ServerSettings

Deprecated Value Members

  1. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ServerSettings toStringFormat[ServerSettings] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  2. def getRemoteAddressHeader: Boolean

    Definition Classes
    ServerSettingsServerSettings
    Deprecated

    since Akka HTTP 10.2.0, use remoteAddressAttribute instead

  3. def getWebsocketRandomFactory: Supplier[Random]
    Definition Classes
    ServerSettingsServerSettings
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version Akka HTTP 10.2.0) Kept for binary compatibility; Use websocketSettings.getRandomFactory instead

  4. def withWebsocketRandomFactory(newValue: () => Random): ServerSettings
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version Akka HTTP 10.2.0) Kept for binary compatibility; Use websocketSettings.withRandomFactoryFactory instead

  5. def withWebsocketRandomFactory(newValue: Supplier[Random]): ServerSettings
    Definition Classes
    ServerSettingsServerSettings
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version Akka HTTP 10.2.0) Kept for binary compatibility; Use websocketSettings.withRandomFactoryFactory instead

  6. def [B](y: B): (ServerSettings, B)
    Implicit
    This member is added by an implicit conversion from ServerSettings toArrowAssoc[ServerSettings] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion timeoutsShortcut fromServerSettings to Timeouts

Inherited by implicit conversion any2stringadd fromServerSettings to any2stringadd[ServerSettings]

Inherited by implicit conversion StringFormat fromServerSettings to StringFormat[ServerSettings]

Inherited by implicit conversion Ensuring fromServerSettings to Ensuring[ServerSettings]

Inherited by implicit conversion ArrowAssoc fromServerSettings to ArrowAssoc[ServerSettings]

Ungrouped