Modifier and Type |
Method and Description |
static ServerSettings |
apply(com.typesafe.config.Config config) |
static ServerSettings |
apply(java.lang.String configOverrides) |
abstract int |
backlog() |
abstract Host |
defaultHostHeader() |
abstract int |
defaultHttpPort() |
abstract int |
defaultHttpsPort() |
int |
getBacklog() |
Host |
getDefaultHostHeader() |
int |
getDefaultHttpPort() |
int |
getDefaultHttpsPort() |
java.util.Optional<java.lang.Object> |
getLogUnencryptedNetworkBytes() |
int |
getMaxConnections() |
ParserSettings |
getParserSettings() |
java.lang.String |
getParsingErrorHandler() |
int |
getPipeliningLimit() |
PreviewServerSettings |
getPreviewServerSettings() |
boolean |
getRawRequestUriHeader() |
boolean |
getRemoteAddressAttribute() |
boolean |
getRemoteAddressHeader() |
int |
getResponseHeaderSizeHint() |
java.util.Optional<Server> |
getServerHeader() |
java.util.List<akka.io.Inet.SocketOption> |
getSocketOptions() |
scala.concurrent.duration.FiniteDuration |
getStreamCancellationDelay() |
HttpResponse |
getTerminationDeadlineExceededResponse() |
ServerSettings.Timeouts |
getTimeouts() |
boolean |
getTransparentHeadRequests() |
boolean |
getVerboseErrorMessages() |
java.lang.Object |
getWebsocketRandomFactory()
|
WebSocketSettings |
getWebsocketSettings() |
abstract Http2ServerSettings |
http2Settings() |
abstract scala.Option<java.lang.Object> |
logUnencryptedNetworkBytes() |
ServerSettings |
mapHttp2Settings(scala.Function1<Http2ServerSettings,Http2ServerSettings> f) |
ServerSettings |
mapParserSettings(scala.Function1<ParserSettings,ParserSettings> f) |
ServerSettings |
mapPreviewServerSettings(scala.Function1<PreviewServerSettings,PreviewServerSettings> f) |
ServerSettings |
mapTimeouts(scala.Function1<ServerSettings.Timeouts,ServerSettings.Timeouts> f) |
ServerSettings |
mapWebsocketSettings(scala.Function1<WebSocketSettings,WebSocketSettings> f) |
abstract int |
maxConnections() |
abstract ParserSettings |
parserSettings() |
abstract java.lang.String |
parsingErrorHandler() |
abstract ParsingErrorHandler |
parsingErrorHandlerInstance(akka.actor.ActorSystem system)
INTERNAL API
Returns an instance of the ParsingErrorHandler as specified by parsingErrorHandler
|
abstract int |
pipeliningLimit() |
abstract PreviewServerSettings |
previewServerSettings() |
abstract boolean |
rawRequestUriHeader() |
abstract boolean |
remoteAddressAttribute() |
abstract boolean |
remoteAddressHeader()
|
abstract int |
responseHeaderSizeHint() |
abstract scala.Option<Server> |
serverHeader() |
abstract scala.collection.immutable.Seq<akka.io.Inet.SocketOption> |
socketOptions() |
abstract scala.concurrent.duration.FiniteDuration |
streamCancellationDelay() |
abstract HttpResponse |
terminationDeadlineExceededResponse() |
abstract ServerSettings.Timeouts |
timeouts() |
static ServerSettings.Timeouts |
timeoutsShortcut(ServerSettings s) |
abstract boolean |
transparentHeadRequests() |
abstract boolean |
verboseErrorMessages() |
abstract scala.Function0<java.util.Random> |
websocketRandomFactory()
|
abstract WebSocketSettings |
websocketSettings() |
ServerSettings |
withBacklog(int newValue) |
ServerSettings |
withDefaultHostHeader(Host newValue) |
ServerSettings |
withDefaultHttpPort(int newValue) |
ServerSettings |
withDefaultHttpsPort(int newValue) |
ServerSettings |
withHttp2Settings(Http2ServerSettings newValue) |
ServerSettings |
withLogUnencryptedNetworkBytes(scala.Option<java.lang.Object> newValue) |
ServerSettings |
withMaxConnections(int newValue) |
ServerSettings |
withParserSettings(ParserSettings newValue) |
ServerSettingsImpl |
withParsingErrorHandler(java.lang.String newValue) |
ServerSettings |
withPipeliningLimit(int newValue) |
ServerSettings |
withPreviewServerSettings(PreviewServerSettings newValue) |
ServerSettings |
withRawRequestUriHeader(boolean newValue) |
ServerSettings |
withRemoteAddressAttribute(boolean newValue) |
ServerSettings |
withRemoteAddressHeader(boolean newValue) |
ServerSettings |
withResponseHeaderSizeHint(int newValue) |
ServerSettings |
withServerHeader(scala.Option<Server> newValue) |
ServerSettings |
withSocketOptions(java.lang.Iterable<akka.io.Inet.SocketOption> newValue) |
ServerSettings |
withSocketOptions(scala.collection.immutable.Seq<akka.io.Inet.SocketOption> newValue) |
ServerSettings |
withStreamCancellationDelay(scala.concurrent.duration.FiniteDuration newValue) |
ServerSettings |
withTerminationDeadlineExceededResponse(HttpResponse response) |
ServerSettings |
withTimeouts(ServerSettings.Timeouts newValue) |
ServerSettings |
withTransparentHeadRequests(boolean newValue) |
ServerSettings |
withVerboseErrorMessages(boolean newValue) |
ServerSettings |
withWebsocketRandomFactory(scala.Function0<java.util.Random> newValue)
|
ServerSettings |
withWebsocketRandomFactory(java.util.function.Supplier<java.util.Random> newValue)
|
ServerSettings |
withWebsocketSettings(WebSocketSettings newValue) |