Class ServerSettings
java.lang.Object
org.apache.pekko.http.javadsl.settings.ServerSettings
- Direct Known Subclasses:
ServerSettings
Public API but not intended for subclassing
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ServerSettings
create
(com.typesafe.config.Config config) static ServerSettings
static ServerSettings
create
(org.apache.pekko.actor.ActorSystem system) abstract int
abstract Host
abstract int
abstract int
abstract int
abstract ParserSettings
abstract String
abstract int
abstract PreviewServerSettings
abstract boolean
abstract boolean
abstract int
abstract Iterable<org.apache.pekko.io.Inet.SocketOption>
abstract scala.concurrent.duration.FiniteDuration
abstract HttpResponse
abstract ServerSettings.Timeouts
abstract boolean
abstract boolean
abstract WebSocketSettings
withBacklog
(int newValue) withDefaultHostHeader
(Host newValue) withDefaultHttpPort
(int newValue) withDefaultHttpsPort
(int newValue) withHttp2Settings
(Http2ServerSettings newValue) withLogUnencryptedNetworkBytes
(Optional<Object> newValue) withMaxConnections
(int newValue) withParserSettings
(ParserSettings newValue) withParsingErrorHandler
(String newValue) withPipeliningLimit
(int newValue) withRawRequestUriHeader
(boolean newValue) withRemoteAddressAttribute
(boolean newValue) withResponseHeaderSizeHint
(int newValue) withServerHeader
(Optional<Server> newValue) withSocketOptions
(Iterable<org.apache.pekko.io.Inet.SocketOption> newValue) withStreamCancellationDelay
(scala.concurrent.duration.FiniteDuration newValue) withTimeouts
(ServerSettings.Timeouts newValue) withTransparentHeadRequests
(boolean newValue) withVerboseErrorMessages
(boolean newValue) withWebsocketSettings
(WebSocketSettings newValue)
-
Constructor Details
-
ServerSettings
public ServerSettings()
-
-
Method Details
-
create
-
create
-
create
-
getServerHeader
-
getPreviewServerSettings
-
getTimeouts
-
getMaxConnections
public abstract int getMaxConnections() -
getPipeliningLimit
public abstract int getPipeliningLimit() -
getRemoteAddressAttribute
public abstract boolean getRemoteAddressAttribute() -
getRawRequestUriHeader
public abstract boolean getRawRequestUriHeader() -
getTransparentHeadRequests
public abstract boolean getTransparentHeadRequests() -
getVerboseErrorMessages
public abstract boolean getVerboseErrorMessages() -
getResponseHeaderSizeHint
public abstract int getResponseHeaderSizeHint() -
getBacklog
public abstract int getBacklog() -
getSocketOptions
-
getDefaultHostHeader
-
getWebsocketSettings
-
getParserSettings
-
getLogUnencryptedNetworkBytes
-
getHttp2Settings
-
getDefaultHttpPort
public abstract int getDefaultHttpPort() -
getDefaultHttpsPort
public abstract int getDefaultHttpsPort() -
getTerminationDeadlineExceededResponse
-
getParsingErrorHandler
-
getStreamCancellationDelay
public abstract scala.concurrent.duration.FiniteDuration getStreamCancellationDelay() -
withServerHeader
-
withPreviewServerSettings
-
withTimeouts
-
withMaxConnections
-
withPipeliningLimit
-
withRemoteAddressAttribute
-
withRawRequestUriHeader
-
withTransparentHeadRequests
-
withVerboseErrorMessages
-
withResponseHeaderSizeHint
-
withBacklog
-
withSocketOptions
-
withDefaultHostHeader
-
withParserSettings
-
withWebsocketSettings
-
withLogUnencryptedNetworkBytes
-
withHttp2Settings
-
withDefaultHttpPort
-
withDefaultHttpsPort
-
withTerminationDeadlineExceededResponse
-
withParsingErrorHandler
-
withStreamCancellationDelay
public ServerSettings withStreamCancellationDelay(scala.concurrent.duration.FiniteDuration newValue)
-