Top Methods
io.vertx.core.http.impl

public Interface HttpClientInternal

extends HttpClient
Known Direct Implementers
io.vertx.core.http.impl.SharedHttpClient, io.vertx.core.http.impl.HttpClientImpl
Imports
io.vertx.core.Future, io.vertx.core.http.HttpClient, .HttpClientOptions, io.vertx.core.impl.VertxInternal, io.vertx.core.net.HostAndPort, .SocketAddress

Method Summary

Modifier and TypeMethod and Description
public default Future<HttpClientConnection>
connect(SocketAddress
the server address
server
)

Connect to a server.

public Future<HttpClientConnection>
connect(SocketAddress
the server address
server
,
SocketAddress
the peer
peer
)

Connect to a server.

public HttpClientOptions
public VertxInternal

Returns:

the vertx, for use in package related classes only.
vertx
()

Inherited from io.vertx.core.http.HttpClient:
closecloseconnectionHandlerredirectHandlerredirectHandlerrequestrequestrequestrequestrequestrequestrequestrequestupdateSSLOptionsupdateSSLOptionsupdateSSLOptionsupdateSSLOptionswebSocketwebSocketwebSocketwebSocketwebSocketwebSocketwebSocketwebSocketwebSocketAbswebSocketAbs

Method Detail

connectback to summary
public default Future<HttpClientConnection> connect(SocketAddress server)

Connect to a server.

Parameters
server:SocketAddress

the server address

connectback to summary
public Future<HttpClientConnection> connect(SocketAddress server, SocketAddress peer)

Connect to a server.

Parameters
server:SocketAddress

the server address

peer:SocketAddress

the peer

optionsback to summary
public HttpClientOptions options()
vertxback to summary
public VertxInternal vertx()
Returns:VertxInternal

the vertx, for use in package related classes only.