Package akka.http.impl.settings
Class ServerSettingsImpl
java.lang.Object
akka.http.javadsl.settings.ServerSettings
akka.http.scaladsl.settings.ServerSettings
akka.http.impl.settings.ServerSettingsImpl
- All Implemented Interfaces:
Serializable
,scala.Equals
,scala.Product
INTERNAL API
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static class
Nested classes/interfaces inherited from class akka.http.scaladsl.settings.ServerSettings
ServerSettings.LogUnencryptedNetworkBytes$
-
Constructor Summary
ConstructorDescriptionServerSettingsImpl
(scala.Option<Server> serverHeader, PreviewServerSettings previewServerSettings, ServerSettings.Timeouts timeouts, int maxConnections, int pipeliningLimit, boolean remoteAddressHeader, boolean remoteAddressAttribute, boolean rawRequestUriHeader, boolean transparentHeadRequests, boolean verboseErrorMessages, int responseHeaderSizeHint, int backlog, scala.Option<Object> logUnencryptedNetworkBytes, scala.collection.immutable.Seq<akka.io.Inet.SocketOption> socketOptions, Host defaultHostHeader, WebSocketSettings websocketSettings, ParserSettings parserSettings, Http2ServerSettings http2Settings, int defaultHttpPort, int defaultHttpsPort, HttpResponse terminationDeadlineExceededResponse, String parsingErrorHandler, scala.concurrent.duration.FiniteDuration streamCancellationDelay, boolean http2Enabled) -
Method Summary
Modifier and TypeMethodDescriptionstatic T
apply
(akka.actor.ActorSystem system) static T
apply
(com.typesafe.config.Config config) static T
int
backlog()
int
int
static ServerSettingsImpl
fromSubConfig
(com.typesafe.config.Config root, com.typesafe.config.Config c) boolean
scala.Option<Object>
int
parsingErrorHandlerInstance
(akka.actor.ActorSystem system) INTERNAL APIint
protected static String
prefix()
boolean
boolean
boolean
int
scala.Option<Server>
scala.collection.immutable.Seq<akka.io.Inet.SocketOption>
scala.concurrent.duration.FiniteDuration
timeouts()
static ServerSettings.Timeouts
boolean
boolean
scala.Function0<Random>
Methods inherited from class akka.http.scaladsl.settings.ServerSettings
getBacklog, getDefaultHostHeader, getDefaultHttpPort, getDefaultHttpsPort, getLogUnencryptedNetworkBytes, getMaxConnections, getParserSettings, getParsingErrorHandler, getPipeliningLimit, getPreviewServerSettings, getRawRequestUriHeader, getRemoteAddressAttribute, getRemoteAddressHeader, getResponseHeaderSizeHint, getServerHeader, getSocketOptions, getStreamCancellationDelay, getTerminationDeadlineExceededResponse, getTimeouts, getTransparentHeadRequests, getVerboseErrorMessages, getWebsocketRandomFactory, getWebsocketSettings, mapHttp2Settings, mapParserSettings, mapPreviewServerSettings, mapTimeouts, mapWebsocketSettings, timeoutsShortcut, withBacklog, withDefaultHostHeader, withDefaultHttpPort, withDefaultHttpsPort, withHttp2Enabled, withHttp2Settings, withLogUnencryptedNetworkBytes, withMaxConnections, withParserSettings, withParsingErrorHandler, withPipeliningLimit, withPreviewServerSettings, withRawRequestUriHeader, withRemoteAddressAttribute, withRemoteAddressHeader, withResponseHeaderSizeHint, withServerHeader, withSocketOptions, withSocketOptions, withStreamCancellationDelay, withTerminationDeadlineExceededResponse, withTimeouts, withTransparentHeadRequests, withVerboseErrorMessages, withWebsocketRandomFactory, withWebsocketRandomFactory, withWebsocketSettings
Methods inherited from class akka.http.javadsl.settings.ServerSettings
create, create, create, getHttp2Settings, withDefaultHostHeader, withHttp2Settings, withLogUnencryptedNetworkBytes, withParserSettings, withPreviewServerSettings, withServerHeader, withTimeouts, withWebsocketSettings
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface scala.Equals
canEqual, equals
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator
-
Constructor Details
-
ServerSettingsImpl
public ServerSettingsImpl(scala.Option<Server> serverHeader, PreviewServerSettings previewServerSettings, ServerSettings.Timeouts timeouts, int maxConnections, int pipeliningLimit, boolean remoteAddressHeader, boolean remoteAddressAttribute, boolean rawRequestUriHeader, boolean transparentHeadRequests, boolean verboseErrorMessages, int responseHeaderSizeHint, int backlog, scala.Option<Object> logUnencryptedNetworkBytes, scala.collection.immutable.Seq<akka.io.Inet.SocketOption> socketOptions, Host defaultHostHeader, WebSocketSettings websocketSettings, ParserSettings parserSettings, Http2ServerSettings http2Settings, int defaultHttpPort, int defaultHttpsPort, HttpResponse terminationDeadlineExceededResponse, String parsingErrorHandler, scala.concurrent.duration.FiniteDuration streamCancellationDelay, boolean http2Enabled)
-
-
Method Details
-
timeoutsShortcut
-
fromSubConfig
public static ServerSettingsImpl fromSubConfig(com.typesafe.config.Config root, com.typesafe.config.Config c) -
prefix
-
apply
public static T apply(akka.actor.ActorSystem system) -
apply
-
apply
public static T apply(com.typesafe.config.Config config) -
serverHeader
- Specified by:
serverHeader
in classServerSettings
-
previewServerSettings
- Specified by:
previewServerSettings
in classServerSettings
-
timeouts
- Specified by:
timeouts
in classServerSettings
-
maxConnections
public int maxConnections()- Specified by:
maxConnections
in classServerSettings
-
pipeliningLimit
public int pipeliningLimit()- Specified by:
pipeliningLimit
in classServerSettings
-
remoteAddressHeader
public boolean remoteAddressHeader()- Specified by:
remoteAddressHeader
in classServerSettings
-
remoteAddressAttribute
public boolean remoteAddressAttribute()- Specified by:
remoteAddressAttribute
in classServerSettings
-
rawRequestUriHeader
public boolean rawRequestUriHeader()- Specified by:
rawRequestUriHeader
in classServerSettings
-
transparentHeadRequests
public boolean transparentHeadRequests()- Specified by:
transparentHeadRequests
in classServerSettings
-
verboseErrorMessages
public boolean verboseErrorMessages()- Specified by:
verboseErrorMessages
in classServerSettings
-
responseHeaderSizeHint
public int responseHeaderSizeHint()- Specified by:
responseHeaderSizeHint
in classServerSettings
-
backlog
public int backlog()- Specified by:
backlog
in classServerSettings
-
logUnencryptedNetworkBytes
- Specified by:
logUnencryptedNetworkBytes
in classServerSettings
-
socketOptions
public scala.collection.immutable.Seq<akka.io.Inet.SocketOption> socketOptions()- Specified by:
socketOptions
in classServerSettings
-
defaultHostHeader
- Specified by:
defaultHostHeader
in classServerSettings
-
websocketSettings
- Specified by:
websocketSettings
in classServerSettings
-
parserSettings
- Specified by:
parserSettings
in classServerSettings
-
http2Settings
- Specified by:
http2Settings
in classServerSettings
-
defaultHttpPort
public int defaultHttpPort()- Specified by:
defaultHttpPort
in classServerSettings
-
defaultHttpsPort
public int defaultHttpsPort()- Specified by:
defaultHttpsPort
in classServerSettings
-
terminationDeadlineExceededResponse
- Specified by:
terminationDeadlineExceededResponse
in classServerSettings
-
parsingErrorHandler
- Specified by:
parsingErrorHandler
in classServerSettings
-
streamCancellationDelay
public scala.concurrent.duration.FiniteDuration streamCancellationDelay()- Specified by:
streamCancellationDelay
in classServerSettings
-
http2Enabled
public boolean http2Enabled()- Specified by:
http2Enabled
in classServerSettings
-
websocketRandomFactory
- Specified by:
websocketRandomFactory
in classServerSettings
-
productPrefix
- Specified by:
productPrefix
in interfacescala.Product
-
parsingErrorHandlerInstance
Description copied from class:ServerSettings
INTERNAL APIReturns an instance of the ParsingErrorHandler as specified by
parsingErrorHandler
- Specified by:
parsingErrorHandlerInstance
in classServerSettings
- Parameters:
system
- (undocumented)- Returns:
- (undocumented)
-