Represents options used by an HttpServer instance
AnythingHttpServerOptionsBaseDataObjectNetServerOptionsBaseDataObjectTCPSSLOptionsBaseDataObjectNetworkOptionsBaseDataObjectBasicIdentifiableObjectAnythingno subtypes hierarchy
| Initializer |
HttpServerOptions(Integer? acceptBacklog = null, {HttpVersion*}? alpnVersions = null, ClientAuth? clientAuth = null, Boolean? clientAuthRequired = null, Boolean? compressionSupported = null, {String*}? crlPaths = null, {String*}? enabledCipherSuites = null, {String*}? enabledSecureTransportProtocols = null, Boolean? handle100ContinueAutomatically = null, String? host = null, Integer? http2ConnectionWindowSize = null, Integer? idleTimeout = null, Http2Settings? initialSettings = null, JdkSSLEngineOptions? jdkSslEngineOptions = null, JksOptions? keyStoreOptions = null, Boolean? logActivity = null, Integer? maxChunkSize = null, Integer? maxHeaderSize = null, Integer? maxInitialLineLength = null, Integer? maxWebsocketFrameSize = null, OpenSSLEngineOptions? openSslEngineOptions = null, PemKeyCertOptions? pemKeyCertOptions = null, PemTrustOptions? pemTrustOptions = null, PfxOptions? pfxKeyCertOptions = null, PfxOptions? pfxTrustOptions = null, Integer? port = null, Integer? receiveBufferSize = null, Boolean? reuseAddress = null, Integer? sendBufferSize = null, Integer? soLinger = null, Boolean? ssl = null, Boolean? tcpKeepAlive = null, Boolean? tcpNoDelay = null, Integer? trafficClass = null, JksOptions? trustStoreOptions = null, Boolean? useAlpn = null, Boolean? usePooledBuffers = null, String? websocketSubProtocols = null)Parameters:
|
| Attributes | |
alpnVersions | shared {HttpVersion*}? alpnVersionsSet the list of protocol versions to provide to the server during the Application-Layer Protocol Negotiatiation. |
compressionSupported | shared Boolean? compressionSupportedSet whether the server supports compression |
handle100ContinueAutomatically | shared Boolean? handle100ContinueAutomaticallySet whether 100 Continue should be handled automatically |
http2ConnectionWindowSize | shared Integer? http2ConnectionWindowSizeSet the default HTTP/2 connection window size. It overrides the initial window size set by getInitialWindowSize, so the connection window size is greater than for its streams, in order the data throughput. A value of-1 reuses the initial window size setting.
|
initialSettings | shared Http2Settings? initialSettingsSet the HTTP/2 connection settings immediatly sent by the server when a client connects. |
maxChunkSize | shared Integer? maxChunkSizeSet the maximum HTTP chunk size |
maxHeaderSize | shared Integer? maxHeaderSizeSet the maximum length of all headers for HTTP/1.x . |
maxInitialLineLength | shared Integer? maxInitialLineLengthSet the maximum length of the initial line for HTTP/1.x (e.g. |
maxWebsocketFrameSize | shared Integer? maxWebsocketFrameSizeSet the maximum websocket frames size |
websocketSubProtocols | shared String? websocketSubProtocolsSet the websocket subprotocols supported by the server. |
| Inherited Attributes |
Attributes inherited from: NetServerOptions |
Attributes inherited from: NetworkOptions |
Attributes inherited from: Objecthash, string |
Attributes inherited from: TCPSSLOptions |
| Methods | |
toJson | shared actual default JsonObject toJson() |
| Inherited Methods |
Methods inherited from: NetServerOptions |
Methods inherited from: NetworkOptions |
Methods inherited from: Objectequals |
Methods inherited from: TCPSSLOptions |
Methods inherited from: BaseDataObjecttoJson |