Package | Description |
---|---|
io.vertx.core |
= Vert.x Core Manual
:toc: left
At the heart of Vert.x is a set of Java APIs that we call *Vert.x Core*
https://github.com/eclipse/vert.x[Repository].
|
io.vertx.core.http |
== Writing HTTP servers and clients
Vert.x allows you to easily write non blocking HTTP clients and servers.
|
io.vertx.core.http.impl | |
io.vertx.core.impl | |
io.vertx.core.metrics.impl | |
io.vertx.core.net.impl | |
io.vertx.core.spi.metrics |
Modifier and Type | Method and Description |
---|---|
HttpServer |
Vertx.createHttpServer(HttpServerOptions options)
Create an HTTP/HTTPS server using the specified options
|
Modifier and Type | Method and Description |
---|---|
HttpServerOptions |
HttpServerOptions.addCrlPath(String crlPath) |
HttpServerOptions |
HttpServerOptions.addCrlValue(Buffer crlValue) |
HttpServerOptions |
HttpServerOptions.addEnabledCipherSuite(String suite) |
HttpServerOptions |
HttpServerOptions.setAcceptBacklog(int acceptBacklog) |
HttpServerOptions |
HttpServerOptions.setClientAuthRequired(boolean clientAuthRequired) |
HttpServerOptions |
HttpServerOptions.setCompressionSupported(boolean compressionSupported)
Set whether the server supports compression
|
HttpServerOptions |
HttpServerOptions.setHost(String host) |
HttpServerOptions |
HttpServerOptions.setIdleTimeout(int idleTimeout) |
HttpServerOptions |
HttpServerOptions.setKeyStoreOptions(JksOptions options) |
HttpServerOptions |
HttpServerOptions.setMaxWebsocketFrameSize(int maxWebsocketFrameSize)
Set the maximum websocket frames size
|
HttpServerOptions |
HttpServerOptions.setPemKeyCertOptions(PemKeyCertOptions options) |
HttpServerOptions |
HttpServerOptions.setPemTrustOptions(PemTrustOptions options) |
HttpServerOptions |
HttpServerOptions.setPfxKeyCertOptions(PfxOptions options) |
HttpServerOptions |
HttpServerOptions.setPfxTrustOptions(PfxOptions options) |
HttpServerOptions |
HttpServerOptions.setPort(int port) |
HttpServerOptions |
HttpServerOptions.setReceiveBufferSize(int receiveBufferSize) |
HttpServerOptions |
HttpServerOptions.setReuseAddress(boolean reuseAddress) |
HttpServerOptions |
HttpServerOptions.setSendBufferSize(int sendBufferSize) |
HttpServerOptions |
HttpServerOptions.setSoLinger(int soLinger) |
HttpServerOptions |
HttpServerOptions.setSsl(boolean ssl) |
HttpServerOptions |
HttpServerOptions.setTcpKeepAlive(boolean tcpKeepAlive) |
HttpServerOptions |
HttpServerOptions.setTcpNoDelay(boolean tcpNoDelay) |
HttpServerOptions |
HttpServerOptions.setTrafficClass(int trafficClass) |
HttpServerOptions |
HttpServerOptions.setTrustStoreOptions(JksOptions options) |
HttpServerOptions |
HttpServerOptions.setUsePooledBuffers(boolean usePooledBuffers) |
HttpServerOptions |
HttpServerOptions.setWebsocketSubProtocol(String subProtocols)
Set the websocket subprotocols supported by the server.
|
Constructor and Description |
---|
HttpServerOptions(HttpServerOptions other)
Copy constructor
|
Constructor and Description |
---|
HttpServerImpl(VertxInternal vertx,
HttpServerOptions options) |
Modifier and Type | Method and Description |
---|---|
HttpServer |
VertxImpl.createHttpServer(HttpServerOptions serverOptions) |
Modifier and Type | Method and Description |
---|---|
HttpServerMetrics |
DummyVertxMetrics.createMetrics(HttpServer server,
SocketAddress localAddress,
HttpServerOptions options) |
Constructor and Description |
---|
SSLHelper(HttpServerOptions options,
KeyStoreHelper keyStoreHelper,
KeyStoreHelper trustStoreHelper) |
Modifier and Type | Method and Description |
---|---|
HttpServerMetrics<?,?,?> |
VertxMetrics.createMetrics(HttpServer server,
SocketAddress localAddress,
HttpServerOptions options)
Provides the http server metrics SPI when an http server is created
|
Copyright © 2015. All Rights Reserved.