public final class ServerSettingsImpl extends ServerSettings implements scala.Product, java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ServerSettingsImpl.Timeouts |
static class |
ServerSettingsImpl.Timeouts$ |
ServerSettings.LogUnencryptedNetworkBytes$
Constructor and 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<org.apache.pekko.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) |
Modifier and Type | Method and Description |
---|---|
static T |
apply(org.apache.pekko.actor.ActorSystem system) |
static T |
apply(com.typesafe.config.Config config) |
static T |
apply(java.lang.String configOverrides) |
int |
backlog() |
Host |
defaultHostHeader() |
int |
defaultHttpPort() |
int |
defaultHttpsPort() |
static ServerSettingsImpl |
fromSubConfig(com.typesafe.config.Config root,
com.typesafe.config.Config c) |
Http2ServerSettings |
http2Settings() |
scala.Option<java.lang.Object> |
logUnencryptedNetworkBytes() |
int |
maxConnections() |
ParserSettings |
parserSettings() |
java.lang.String |
parsingErrorHandler() |
ParsingErrorHandler |
parsingErrorHandlerInstance(org.apache.pekko.actor.ActorSystem system)
INTERNAL API
Returns an instance of the ParsingErrorHandler as specified by
parsingErrorHandler |
int |
pipeliningLimit() |
protected static java.lang.String |
prefix() |
PreviewServerSettings |
previewServerSettings() |
java.lang.String |
productPrefix() |
boolean |
rawRequestUriHeader() |
boolean |
remoteAddressAttribute() |
boolean |
remoteAddressHeader() |
int |
responseHeaderSizeHint() |
scala.Option<Server> |
serverHeader() |
scala.collection.immutable.Seq<org.apache.pekko.io.Inet.SocketOption> |
socketOptions() |
scala.concurrent.duration.FiniteDuration |
streamCancellationDelay() |
HttpResponse |
terminationDeadlineExceededResponse() |
ServerSettings.Timeouts |
timeouts() |
static ServerSettings.Timeouts |
timeoutsShortcut(ServerSettings s) |
boolean |
transparentHeadRequests() |
boolean |
verboseErrorMessages() |
scala.Function0<java.util.Random> |
websocketRandomFactory() |
WebSocketSettings |
websocketSettings() |
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, withBacklog, withDefaultHostHeader, withDefaultHttpPort, withDefaultHttpsPort, withHttp2Settings, withLogUnencryptedNetworkBytes, withMaxConnections, withParserSettings, withParsingErrorHandler, withPipeliningLimit, withPreviewServerSettings, withRawRequestUriHeader, withRemoteAddressAttribute, withRemoteAddressHeader, withResponseHeaderSizeHint, withServerHeader, withSocketOptions, withSocketOptions, withStreamCancellationDelay, withTerminationDeadlineExceededResponse, withTimeouts, withTransparentHeadRequests, withVerboseErrorMessages, withWebsocketRandomFactory, withWebsocketRandomFactory, withWebsocketSettings
create, create, create, getHttp2Settings, withDefaultHostHeader, withHttp2Settings, withLogUnencryptedNetworkBytes, withParserSettings, withPreviewServerSettings, withServerHeader, withTimeouts, withWebsocketSettings
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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<org.apache.pekko.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)
public static ServerSettings.Timeouts timeoutsShortcut(ServerSettings s)
public static ServerSettingsImpl fromSubConfig(com.typesafe.config.Config root, com.typesafe.config.Config c)
protected static java.lang.String prefix()
public static T apply(org.apache.pekko.actor.ActorSystem system)
public static T apply(java.lang.String configOverrides)
public static T apply(com.typesafe.config.Config config)
public scala.Option<Server> serverHeader()
serverHeader
in class ServerSettings
public PreviewServerSettings previewServerSettings()
previewServerSettings
in class ServerSettings
public ServerSettings.Timeouts timeouts()
timeouts
in class ServerSettings
public int maxConnections()
maxConnections
in class ServerSettings
public int pipeliningLimit()
pipeliningLimit
in class ServerSettings
public boolean remoteAddressHeader()
remoteAddressHeader
in class ServerSettings
public boolean remoteAddressAttribute()
remoteAddressAttribute
in class ServerSettings
public boolean rawRequestUriHeader()
rawRequestUriHeader
in class ServerSettings
public boolean transparentHeadRequests()
transparentHeadRequests
in class ServerSettings
public boolean verboseErrorMessages()
verboseErrorMessages
in class ServerSettings
public int responseHeaderSizeHint()
responseHeaderSizeHint
in class ServerSettings
public int backlog()
backlog
in class ServerSettings
public scala.Option<java.lang.Object> logUnencryptedNetworkBytes()
logUnencryptedNetworkBytes
in class ServerSettings
public scala.collection.immutable.Seq<org.apache.pekko.io.Inet.SocketOption> socketOptions()
socketOptions
in class ServerSettings
public Host defaultHostHeader()
defaultHostHeader
in class ServerSettings
public WebSocketSettings websocketSettings()
websocketSettings
in class ServerSettings
public ParserSettings parserSettings()
parserSettings
in class ServerSettings
public Http2ServerSettings http2Settings()
http2Settings
in class ServerSettings
public int defaultHttpPort()
defaultHttpPort
in class ServerSettings
public int defaultHttpsPort()
defaultHttpsPort
in class ServerSettings
public HttpResponse terminationDeadlineExceededResponse()
terminationDeadlineExceededResponse
in class ServerSettings
public java.lang.String parsingErrorHandler()
parsingErrorHandler
in class ServerSettings
public scala.concurrent.duration.FiniteDuration streamCancellationDelay()
streamCancellationDelay
in class ServerSettings
public scala.Function0<java.util.Random> websocketRandomFactory()
websocketRandomFactory
in class ServerSettings
public java.lang.String productPrefix()
productPrefix
in interface scala.Product
public ParsingErrorHandler parsingErrorHandlerInstance(org.apache.pekko.actor.ActorSystem system)
ServerSettings
Returns an instance of the ParsingErrorHandler as specified by parsingErrorHandler
parsingErrorHandlerInstance
in class ServerSettings
system
- (undocumented)