abstract class ServerSettings extends javadsl.settings.ServerSettings
Public API but not intended for subclassing
- Self Type
- ServerSettingsImpl
- Annotations
- @DoNotInherit()
- Source
- ServerSettings.scala
- Alphabetic
- By Inheritance
- ServerSettings
- ServerSettings
- AnyRef
- Any
- by timeoutsShortcut
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def backlog: Int
- abstract def defaultHostHeader: Host
- abstract def defaultHttpPort: Int
- abstract def defaultHttpsPort: Int
- abstract def http2Enabled: Boolean
- Definition Classes
- ServerSettings → ServerSettings
- abstract def http2Settings: Http2ServerSettings
- abstract def logUnencryptedNetworkBytes: Option[Int]
- abstract def maxConnections: Int
- abstract def parserSettings: ParserSettings
- abstract def parsingErrorHandler: String
- abstract def pipeliningLimit: Int
- abstract def previewServerSettings: PreviewServerSettings
- abstract def rawRequestUriHeader: Boolean
- abstract def remoteAddressAttribute: Boolean
- abstract def responseHeaderSizeHint: Int
- abstract def serverHeader: Option[Server]
- abstract def socketOptions: Seq[SocketOption]
- abstract def streamCancellationDelay: FiniteDuration
- abstract def terminationDeadlineExceededResponse: HttpResponse
- abstract def timeouts: Timeouts
- abstract def transparentHeadRequests: Boolean
- abstract def verboseErrorMessages: Boolean
- abstract def websocketSettings: WebSocketSettings
- abstract def remoteAddressHeader: Boolean
- Annotations
- @deprecated
- Deprecated
(Since version 10.2.0) use remote-address-attribute instead
- abstract def websocketRandomFactory: () => Random
- Annotations
- @Deprecated @deprecated
- Deprecated
(Since version 10.1.1) Kept for binary compatibility; Use websocketSettings.randomFactory instead
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- 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
- 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()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bindTimeout: FiniteDuration
- Implicit
- This member is added by an implicit conversion from ServerSettings toTimeouts performed by method timeoutsShortcut in akka.http.scaladsl.settings.ServerSettings.
- Definition Classes
- Timeouts
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- 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
- 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
- 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
- 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
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def getBacklog: Int
- Definition Classes
- ServerSettings → ServerSettings
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def getDefaultHostHeader: Host
- Definition Classes
- ServerSettings → ServerSettings
- def getDefaultHttpPort: Int
- Definition Classes
- ServerSettings → ServerSettings
- def getDefaultHttpsPort: Int
- Definition Classes
- ServerSettings → ServerSettings
- def getHttp2Settings: javadsl.settings.Http2ServerSettings
- Definition Classes
- ServerSettings
- def getLogUnencryptedNetworkBytes: Optional[Int]
- Definition Classes
- ServerSettings → ServerSettings
- def getMaxConnections: Int
- Definition Classes
- ServerSettings → ServerSettings
- def getParserSettings: javadsl.settings.ParserSettings
- Definition Classes
- ServerSettings → ServerSettings
- def getParsingErrorHandler: String
- Definition Classes
- ServerSettings → ServerSettings
- def getPipeliningLimit: Int
- Definition Classes
- ServerSettings → ServerSettings
- def getPreviewServerSettings: javadsl.settings.PreviewServerSettings
- Definition Classes
- ServerSettings → ServerSettings
- def getRawRequestUriHeader: Boolean
- Definition Classes
- ServerSettings → ServerSettings
- def getRemoteAddressAttribute: Boolean
- Definition Classes
- ServerSettings → ServerSettings
- def getResponseHeaderSizeHint: Int
- Definition Classes
- ServerSettings → ServerSettings
- def getServerHeader: Optional[Server]
- Definition Classes
- ServerSettings → ServerSettings
- def getSocketOptions: List[SocketOption]
- Definition Classes
- ServerSettings → ServerSettings
- def getStreamCancellationDelay: FiniteDuration
- Definition Classes
- ServerSettings → ServerSettings
- def getTerminationDeadlineExceededResponse: HttpResponse
- Definition Classes
- ServerSettings → ServerSettings
- def getTimeouts: Timeouts
- Definition Classes
- ServerSettings → ServerSettings
- def getTransparentHeadRequests: Boolean
- Definition Classes
- ServerSettings → ServerSettings
- def getVerboseErrorMessages: Boolean
- Definition Classes
- ServerSettings → ServerSettings
- def getWebsocketSettings: WebSocketSettings
- Definition Classes
- ServerSettings → ServerSettings
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def idleTimeout: Duration
- Implicit
- This member is added by an implicit conversion from ServerSettings toTimeouts performed by method timeoutsShortcut in akka.http.scaladsl.settings.ServerSettings.
- Definition Classes
- Timeouts
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lingerTimeout: Duration
- Implicit
- This member is added by an implicit conversion from ServerSettings toTimeouts performed by method timeoutsShortcut in akka.http.scaladsl.settings.ServerSettings.
- Definition Classes
- Timeouts
- def mapHttp2Settings(f: (Http2ServerSettings) => Http2ServerSettings): ServerSettings
- def mapParserSettings(f: (ParserSettings) => ParserSettings): ServerSettings
- def mapPreviewServerSettings(f: (PreviewServerSettings) => PreviewServerSettings): ServerSettings
- def mapTimeouts(f: (Timeouts) => Timeouts): ServerSettings
- def mapWebsocketSettings(f: (WebSocketSettings) => WebSocketSettings): ServerSettings
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def requestTimeout: Duration
- Implicit
- This member is added by an implicit conversion from ServerSettings toTimeouts performed by method timeoutsShortcut in akka.http.scaladsl.settings.ServerSettings.
- Definition Classes
- Timeouts
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withBacklog(newValue: Int): ServerSettings
- Definition Classes
- ServerSettings → ServerSettings
- def withBindTimeout(newValue: FiniteDuration): Timeouts
- Implicit
- This member is added by an implicit conversion from ServerSettings toTimeouts performed by method timeoutsShortcut in akka.http.scaladsl.settings.ServerSettings.
- Definition Classes
- Timeouts → Timeouts
- def withDefaultHostHeader(newValue: Host): ServerSettings
- def withDefaultHostHeader(newValue: Host): javadsl.settings.ServerSettings
- Definition Classes
- ServerSettings
- def withDefaultHttpPort(newValue: Int): ServerSettings
- Definition Classes
- ServerSettings → ServerSettings
- def withDefaultHttpsPort(newValue: Int): ServerSettings
- Definition Classes
- ServerSettings → ServerSettings
- def withHttp2Enabled(enabled: Boolean): ServerSettings
- Definition Classes
- ServerSettings → ServerSettings
- def withHttp2Settings(newValue: Http2ServerSettings): ServerSettings
- def withHttp2Settings(newValue: javadsl.settings.Http2ServerSettings): javadsl.settings.ServerSettings
- Definition Classes
- ServerSettings
- def withIdleTimeout(newValue: Duration): Timeouts
- Implicit
- This member is added by an implicit conversion from ServerSettings toTimeouts performed by method timeoutsShortcut in akka.http.scaladsl.settings.ServerSettings.
- Definition Classes
- Timeouts → Timeouts
- def withLingerTimeout(newValue: Duration): Timeouts
- Implicit
- This member is added by an implicit conversion from ServerSettings toTimeouts performed by method timeoutsShortcut in akka.http.scaladsl.settings.ServerSettings.
- Definition Classes
- Timeouts → Timeouts
- def withLogUnencryptedNetworkBytes(newValue: Option[Int]): ServerSettings
- def withLogUnencryptedNetworkBytes(newValue: Optional[Int]): javadsl.settings.ServerSettings
- Definition Classes
- ServerSettings
- def withMaxConnections(newValue: Int): ServerSettings
- Definition Classes
- ServerSettings → ServerSettings
- def withParserSettings(newValue: ParserSettings): ServerSettings
- def withParserSettings(newValue: javadsl.settings.ParserSettings): javadsl.settings.ServerSettings
- Definition Classes
- ServerSettings
- def withParsingErrorHandler(newValue: String): ServerSettings
- Definition Classes
- ServerSettings → ServerSettings
- def withPipeliningLimit(newValue: Int): ServerSettings
- Definition Classes
- ServerSettings → ServerSettings
- def withPreviewServerSettings(newValue: PreviewServerSettings): ServerSettings
- def withPreviewServerSettings(newValue: javadsl.settings.PreviewServerSettings): javadsl.settings.ServerSettings
- Definition Classes
- ServerSettings
- def withRawRequestUriHeader(newValue: Boolean): ServerSettings
- Definition Classes
- ServerSettings → ServerSettings
- def withRemoteAddressAttribute(newValue: Boolean): ServerSettings
- Definition Classes
- ServerSettings → ServerSettings
- def withRemoteAddressHeader(newValue: Boolean): ServerSettings
- Definition Classes
- ServerSettings → ServerSettings
- def withRequestTimeout(newValue: Duration): Timeouts
- Implicit
- This member is added by an implicit conversion from ServerSettings toTimeouts performed by method timeoutsShortcut in akka.http.scaladsl.settings.ServerSettings.
- Definition Classes
- Timeouts → Timeouts
- def withResponseHeaderSizeHint(newValue: Int): ServerSettings
- Definition Classes
- ServerSettings → ServerSettings
- def withServerHeader(newValue: Option[Server]): ServerSettings
- def withServerHeader(newValue: Optional[Server]): javadsl.settings.ServerSettings
- Definition Classes
- ServerSettings
- def withSocketOptions(newValue: Seq[SocketOption]): ServerSettings
- def withSocketOptions(newValue: Iterable[SocketOption]): ServerSettings
- Definition Classes
- ServerSettings → ServerSettings
- def withStreamCancellationDelay(newValue: FiniteDuration): ServerSettings
- Definition Classes
- ServerSettings → ServerSettings
- def withTerminationDeadlineExceededResponse(response: HttpResponse): ServerSettings
- Definition Classes
- ServerSettings → ServerSettings
- def withTimeouts(newValue: Timeouts): ServerSettings
- def withTimeouts(newValue: Timeouts): javadsl.settings.ServerSettings
- Definition Classes
- ServerSettings
- def withTransparentHeadRequests(newValue: Boolean): ServerSettings
- Definition Classes
- ServerSettings → ServerSettings
- def withVerboseErrorMessages(newValue: Boolean): ServerSettings
- Definition Classes
- ServerSettings → ServerSettings
- def withWebsocketSettings(newValue: WebSocketSettings): ServerSettings
- def withWebsocketSettings(newValue: javadsl.settings.WebSocketSettings): javadsl.settings.ServerSettings
- Definition Classes
- ServerSettings
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- 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 ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def getRemoteAddressHeader: Boolean
- Definition Classes
- ServerSettings → ServerSettings
- Deprecated
since 10.2.0, use remoteAddressAttribute instead
- def getWebsocketRandomFactory: Supplier[Random]
- Definition Classes
- ServerSettings → ServerSettings
- Annotations
- @Deprecated @deprecated
- Deprecated
(Since version 10.2.0) Kept for binary compatibility; Use websocketSettings.getRandomFactory instead
- def withWebsocketRandomFactory(newValue: () => Random): ServerSettings
- Annotations
- @Deprecated @deprecated
- Deprecated
(Since version 10.2.0) Kept for binary compatibility; Use websocketSettings.withRandomFactoryFactory instead
- def withWebsocketRandomFactory(newValue: Supplier[Random]): ServerSettings
- Definition Classes
- ServerSettings → ServerSettings
- Annotations
- @Deprecated @deprecated
- Deprecated
(Since version 10.2.0) Kept for binary compatibility; Use websocketSettings.withRandomFactoryFactory instead
- 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.