Java io.vertx.core.http HttpServerOptions fields, constructors, methods, implement or subclass

Example usage for Java io.vertx.core.http HttpServerOptions fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for io.vertx.core.http HttpServerOptions.

The text is from its open source code.

Subclass

io.vertx.core.http.HttpServerOptions has subclasses.
Click this link to see all its subclasses.

Field

intDEFAULT_MAX_INITIAL_LINE_LENGTH
Default max length of the initial line (e.g.
longDEFAULT_INITIAL_SETTINGS_MAX_CONCURRENT_STREAMS
The default initial settings max concurrent stream for an HTTP/2 server = 100

Constructor

HttpServerOptions()
Default constructor
HttpServerOptions(HttpServerOptions other)
Copy constructor
HttpServerOptions(JsonObject json)
Create an options from JSON

Method

intgetMaxWebsocketFrameSize()
HttpServerOptionssetAcceptBacklog(int acceptBacklog)
HttpServerOptionssetAlpnVersions(List alpnVersions)
Set the list of protocol versions to provide to the server during the Application-Layer Protocol Negotiatiation.
HttpServerOptionssetClientAuth(ClientAuth clientAuth)
HttpServerOptionssetCompressionSupported(boolean compressionSupported)
Set whether the server should support gzip/deflate compression (serving compressed responses to clients advertising support for them with Accept-Encoding header)
HttpServerOptionssetHost(String host)
HttpServerOptionssetIdleTimeout(int idleTimeout)
HttpServerOptionssetKeyStoreOptions(JksOptions options)
HttpServerOptionssetMaxHeaderSize(int maxHeaderSize)
Set the maximum length of all headers for HTTP/1.x .
HttpServerOptionssetMaxInitialLineLength(int maxInitialLineLength)
Set the maximum length of the initial line for HTTP/1.x (e.g.
HttpServerOptionssetMaxWebsocketFrameSize(int maxWebsocketFrameSize)
Set the maximum WebSocket frames size
HttpServerOptionssetPemKeyCertOptions(PemKeyCertOptions options)
HttpServerOptionssetPort(int port)
HttpServerOptionssetReceiveBufferSize(int receiveBufferSize)
HttpServerOptionssetReuseAddress(boolean reuseAddress)
HttpServerOptionssetSendBufferSize(int sendBufferSize)
HttpServerOptionssetSsl(boolean ssl)
HttpServerOptionssetTcpKeepAlive(boolean tcpKeepAlive)
HttpServerOptionssetTrustStoreOptions(JksOptions options)
HttpServerOptionssetUseAlpn(boolean useAlpn)
HttpServerOptionssetWebsocketSubProtocols(String subProtocols)
Set the WebSocket sub-protocols supported by the server.