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:
java.io.Serializable,scala.Equals,scala.Product
public final class ServerSettingsImpl extends ServerSettings implements scala.Product, java.io.Serializable
INTERNAL API- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServerSettingsImpl.Timeoutsstatic classServerSettingsImpl.Timeouts$-
Nested classes/interfaces inherited from class akka.http.scaladsl.settings.ServerSettings
ServerSettings.LogUnencryptedNetworkBytes$
-
-
Constructor Summary
Constructors Constructor Description 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<java.lang.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, java.lang.String parsingErrorHandler, scala.concurrent.duration.FiniteDuration streamCancellationDelay, boolean http2Enabled)
-
Method Summary
-
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
-
-
-
-
Constructor Detail
-
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<java.lang.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, java.lang.String parsingErrorHandler, scala.concurrent.duration.FiniteDuration streamCancellationDelay, boolean http2Enabled)
-
-
Method Detail
-
timeoutsShortcut
public static ServerSettings.Timeouts timeoutsShortcut(ServerSettings s)
-
fromSubConfig
public static ServerSettingsImpl fromSubConfig(com.typesafe.config.Config root, com.typesafe.config.Config c)
-
prefix
protected static java.lang.String prefix()
-
apply
public static T apply(akka.actor.ActorSystem system)
-
apply
public static T apply(java.lang.String configOverrides)
-
apply
public static T apply(com.typesafe.config.Config config)
-
serverHeader
public scala.Option<Server> serverHeader()
- Specified by:
serverHeaderin classServerSettings
-
previewServerSettings
public PreviewServerSettings previewServerSettings()
- Specified by:
previewServerSettingsin classServerSettings
-
timeouts
public ServerSettings.Timeouts timeouts()
- Specified by:
timeoutsin classServerSettings
-
maxConnections
public int maxConnections()
- Specified by:
maxConnectionsin classServerSettings
-
pipeliningLimit
public int pipeliningLimit()
- Specified by:
pipeliningLimitin classServerSettings
-
remoteAddressHeader
public boolean remoteAddressHeader()
- Specified by:
remoteAddressHeaderin classServerSettings
-
remoteAddressAttribute
public boolean remoteAddressAttribute()
- Specified by:
remoteAddressAttributein classServerSettings
-
rawRequestUriHeader
public boolean rawRequestUriHeader()
- Specified by:
rawRequestUriHeaderin classServerSettings
-
transparentHeadRequests
public boolean transparentHeadRequests()
- Specified by:
transparentHeadRequestsin classServerSettings
-
verboseErrorMessages
public boolean verboseErrorMessages()
- Specified by:
verboseErrorMessagesin classServerSettings
-
responseHeaderSizeHint
public int responseHeaderSizeHint()
- Specified by:
responseHeaderSizeHintin classServerSettings
-
backlog
public int backlog()
- Specified by:
backlogin classServerSettings
-
logUnencryptedNetworkBytes
public scala.Option<java.lang.Object> logUnencryptedNetworkBytes()
- Specified by:
logUnencryptedNetworkBytesin classServerSettings
-
socketOptions
public scala.collection.immutable.Seq<akka.io.Inet.SocketOption> socketOptions()
- Specified by:
socketOptionsin classServerSettings
-
defaultHostHeader
public Host defaultHostHeader()
- Specified by:
defaultHostHeaderin classServerSettings
-
websocketSettings
public WebSocketSettings websocketSettings()
- Specified by:
websocketSettingsin classServerSettings
-
parserSettings
public ParserSettings parserSettings()
- Specified by:
parserSettingsin classServerSettings
-
http2Settings
public Http2ServerSettings http2Settings()
- Specified by:
http2Settingsin classServerSettings
-
defaultHttpPort
public int defaultHttpPort()
- Specified by:
defaultHttpPortin classServerSettings
-
defaultHttpsPort
public int defaultHttpsPort()
- Specified by:
defaultHttpsPortin classServerSettings
-
terminationDeadlineExceededResponse
public HttpResponse terminationDeadlineExceededResponse()
- Specified by:
terminationDeadlineExceededResponsein classServerSettings
-
parsingErrorHandler
public java.lang.String parsingErrorHandler()
- Specified by:
parsingErrorHandlerin classServerSettings
-
streamCancellationDelay
public scala.concurrent.duration.FiniteDuration streamCancellationDelay()
- Specified by:
streamCancellationDelayin classServerSettings
-
http2Enabled
public boolean http2Enabled()
- Specified by:
http2Enabledin classServerSettings
-
websocketRandomFactory
public scala.Function0<java.util.Random> websocketRandomFactory()
- Specified by:
websocketRandomFactoryin classServerSettings
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefixin interfacescala.Product
-
parsingErrorHandlerInstance
public ParsingErrorHandler parsingErrorHandlerInstance(akka.actor.ActorSystem system)
Description copied from class:ServerSettingsINTERNAL APIReturns an instance of the ParsingErrorHandler as specified by
parsingErrorHandler- Specified by:
parsingErrorHandlerInstancein classServerSettings- Parameters:
system- (undocumented)- Returns:
- (undocumented)
-
-