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.dns |
== DNS client
Often you will find yourself in situations where you need to obtain DNS informations in an asynchronous fashion.
|
Modifier and Type | Method and Description |
---|---|
DnsClient |
Vertx.createDnsClient(DnsClientOptions options)
Create a DNS client to connect to a DNS server
|
Modifier and Type | Method and Description |
---|---|
DnsClientOptions |
DnsClientOptions.setHost(String host)
Set the host name to be used by this client in requests.
|
DnsClientOptions |
DnsClientOptions.setPort(int port)
Set the port to be used by this client in requests.
|
DnsClientOptions |
DnsClientOptions.setQueryTimeout(long queryTimeout)
Set the query timeout in milliseconds, i.e the amount of time after a query is considered to be failed.
|
Modifier and Type | Method and Description |
---|---|
static void |
DnsClientOptionsConverter.fromJson(JsonObject json,
DnsClientOptions obj) |
static void |
DnsClientOptionsConverter.toJson(DnsClientOptions obj,
JsonObject json) |
Constructor and Description |
---|
DnsClientOptions(DnsClientOptions other) |
Copyright © 2018 Eclipse. All rights reserved.