Example usage for Java io.vertx.core.http HttpServerOptions fields, constructors, methods, implement or subclass
The text is from its open source code.
int | DEFAULT_MAX_INITIAL_LINE_LENGTH Default max length of the initial line (e.g. |
long | DEFAULT_INITIAL_SETTINGS_MAX_CONCURRENT_STREAMS The default initial settings max concurrent stream for an HTTP/2 server = 100 |
HttpServerOptions() Default constructor | |
HttpServerOptions(HttpServerOptions other) Copy constructor | |
HttpServerOptions(JsonObject json) Create an options from JSON |
int | getMaxWebsocketFrameSize() |
HttpServerOptions | setAcceptBacklog(int acceptBacklog) |
HttpServerOptions | setAlpnVersions(List Set the list of protocol versions to provide to the server during the Application-Layer Protocol Negotiatiation. |
HttpServerOptions | setClientAuth(ClientAuth clientAuth) |
HttpServerOptions | setCompressionSupported(boolean compressionSupported) Set whether the server should support gzip/deflate compression (serving compressed responses to clients advertising support for them with Accept-Encoding header) |
HttpServerOptions | setHost(String host) |
HttpServerOptions | setIdleTimeout(int idleTimeout) |
HttpServerOptions | setKeyStoreOptions(JksOptions options) |
HttpServerOptions | setMaxHeaderSize(int maxHeaderSize) Set the maximum length of all headers for HTTP/1.x . |
HttpServerOptions | setMaxInitialLineLength(int maxInitialLineLength) Set the maximum length of the initial line for HTTP/1.x (e.g. |
HttpServerOptions | setMaxWebsocketFrameSize(int maxWebsocketFrameSize) Set the maximum WebSocket frames size |
HttpServerOptions | setPemKeyCertOptions(PemKeyCertOptions options) |
HttpServerOptions | setPort(int port) |
HttpServerOptions | setReceiveBufferSize(int receiveBufferSize) |
HttpServerOptions | setReuseAddress(boolean reuseAddress) |
HttpServerOptions | setSendBufferSize(int sendBufferSize) |
HttpServerOptions | setSsl(boolean ssl) |
HttpServerOptions | setTcpKeepAlive(boolean tcpKeepAlive) |
HttpServerOptions | setTrustStoreOptions(JksOptions options) |
HttpServerOptions | setUseAlpn(boolean useAlpn) |
HttpServerOptions | setWebsocketSubProtocols(String subProtocols) Set the WebSocket sub-protocols supported by the server. |