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.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.setClientAuth(ClientAuth clientAuth) |
HttpServerOptions |
HttpServerOptions.setClientAuthRequired(boolean clientAuthRequired)
Deprecated.
|
HttpServerOptions |
HttpServerOptions.setCompressionSupported(boolean compressionSupported)
Set whether the server supports compression
|
HttpServerOptions |
HttpServerOptions.setHandle100ContinueAutomatically(boolean handle100ContinueAutomatically)
Set whether 100 Continue should be handled automatically
|
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.setWebsocketSubProtocols(String subProtocols)
Set the websocket subprotocols supported by the server.
|
Constructor and Description |
---|
HttpServerOptions(HttpServerOptions other)
Copy constructor
|
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.
No specific thread and context can be expected when this method is called.
Note: this method can be called more than one time for the same
localAddress when a server is
scaled, it is the responsibility of the metrics implementation to eventually merge metrics. |
Copyright © 2015. All rights reserved.