abstract class ServerSettings extends AnyRef
Public API but not intended for subclassing
- Self Type
- ServerSettingsImpl
- Annotations
- @DoNotInherit()
- Source
- ServerSettings.scala
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- ServerSettings
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ServerSettings()
Abstract Value Members
- abstract def getBacklog: Int
- abstract def getDefaultHostHeader: Host
- abstract def getDefaultHttpPort: Int
- abstract def getDefaultHttpsPort: Int
- abstract def getLogUnencryptedNetworkBytes: Optional[Int]
- abstract def getMaxConnections: Int
- abstract def getParserSettings: ParserSettings
- abstract def getParsingErrorHandler: String
- abstract def getPipeliningLimit: Int
- abstract def getPreviewServerSettings: PreviewServerSettings
- abstract def getRawRequestUriHeader: Boolean
- abstract def getRemoteAddressAttribute: Boolean
- abstract def getResponseHeaderSizeHint: Int
- abstract def getServerHeader: Optional[Server]
- abstract def getSocketOptions: Iterable[SocketOption]
- abstract def getStreamCancellationDelay: FiniteDuration
- abstract def getTerminationDeadlineExceededResponse: HttpResponse
- abstract def getTimeouts: Timeouts
- abstract def getTransparentHeadRequests: Boolean
- abstract def getVerboseErrorMessages: Boolean
- abstract def getWebsocketSettings: WebSocketSettings
- abstract def http2Enabled: Boolean
- abstract def getRemoteAddressHeader: Boolean
- Annotations
- @Deprecated @deprecated
- Deprecated
(Since version 10.2.0) Use remoteAddressAttribute instead
- abstract def getWebsocketRandomFactory: Supplier[Random]
- Annotations
- @Deprecated @deprecated
- Deprecated
(Since version 10.2.0) Kept for binary compatibility; Use websocketSettings.getRandomFactory instead
Concrete Value Members
- def getHttp2Settings: Http2ServerSettings
- def withBacklog(newValue: Int): ServerSettings
- def withDefaultHostHeader(newValue: Host): ServerSettings
- def withDefaultHttpPort(newValue: Int): ServerSettings
- def withDefaultHttpsPort(newValue: Int): ServerSettings
- def withHttp2Enabled(enabled: Boolean): ServerSettings
- def withHttp2Settings(newValue: Http2ServerSettings): ServerSettings
- def withLogUnencryptedNetworkBytes(newValue: Optional[Int]): ServerSettings
- def withMaxConnections(newValue: Int): ServerSettings
- def withParserSettings(newValue: ParserSettings): ServerSettings
- def withParsingErrorHandler(newValue: String): ServerSettings
- def withPipeliningLimit(newValue: Int): ServerSettings
- def withPreviewServerSettings(newValue: PreviewServerSettings): ServerSettings
- def withRawRequestUriHeader(newValue: Boolean): ServerSettings
- def withRemoteAddressAttribute(newValue: Boolean): ServerSettings
- def withRemoteAddressHeader(newValue: Boolean): ServerSettings
- def withResponseHeaderSizeHint(newValue: Int): ServerSettings
- def withServerHeader(newValue: Optional[Server]): ServerSettings
- def withSocketOptions(newValue: Iterable[SocketOption]): ServerSettings
- def withStreamCancellationDelay(newValue: FiniteDuration): ServerSettings
- def withTerminationDeadlineExceededResponse(response: HttpResponse): ServerSettings
- def withTimeouts(newValue: Timeouts): ServerSettings
- def withTransparentHeadRequests(newValue: Boolean): ServerSettings
- def withVerboseErrorMessages(newValue: Boolean): ServerSettings
- def withWebsocketSettings(newValue: WebSocketSettings): ServerSettings
Deprecated Value Members
- def withWebsocketRandomFactory(newValue: Supplier[Random]): ServerSettings
- Annotations
- @Deprecated @deprecated
- Deprecated
(Since version 10.2.0) Kept for binary compatibility; Use websocketSettings.withRandomFactoryFactory instead