| Modifier and Type | Field and Description |
|---|---|
| private ByteBufFormat | |
| public static final String | DEFAULT_HOST
The default value for the host = |
| public static final ByteBufFormat | DEFAULT_LOG_ACTIVITY_FORMAT
The default ByteBufFormat is SIMPLE |
| public static final boolean | DEFAULT_LOG_ENABLED
The default log enabled = false |
| public static final int | DEFAULT_PORT
The default value for the port = |
| public static final long | DEFAULT_QUERY_TIMEOUT
The default value for the query timeout in millis = |
| public static final boolean | DEFAULT_RECURSION_DESIRED
The default value for the recursion desired flag (RD) = |
| private String | |
| private boolean | |
| private int | |
| private long | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public | DnsClientOptions(JsonObject json)
References Deprecated
JsonObject is deprecated or references (maybe indirectly) at least one deprecated element.
|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ByteBufFormat | |
| public String | |
| public boolean | |
| public int | |
| public long | |
| public boolean | Returns: true when recursion is desiredReturn whether or not recursion is desired |
| public DnsClientOptions | Returns: a reference to this, so the API can be used fluentlyformat of Netty's logging data activityLogFormat)Set the value of Netty's logging handler's data format: Netty's pipeline is configured for logging on Netty's logger. |
| public DnsClientOptions | |
| public DnsClientOptions | Returns: a reference to this, so the API can be used fluentlytrue for logging the network activity logActivity)Set to true to enable network activity logging: Netty's pipeline is configured for logging on Netty's logger. |
| public DnsClientOptions | Returns: a reference to this, so the API can be used fluentlySet the port to be used by this client in requests. |
| public DnsClientOptions | Returns: a reference to this, so the API can be used fluentlythe query timeout in milliseconds queryTimeout)Set the query timeout in milliseconds, i.e the amount of time after a query is considered to be failed. |
| public DnsClientOptions | Returns: a reference to this, so the API can be used fluentlythe new value recursionDesired)Set whether or not recursion is desired |
| public JsonObject | toJson()
References Deprecated
JsonObject is deprecated or references (maybe indirectly) at least one deprecated element.
|
| activityLogFormat | back to summary |
|---|---|
| private ByteBufFormat activityLogFormat | |
| DEFAULT_HOST | back to summary |
|---|---|
| public static final String DEFAULT_HOST The default value for the host = | |
| DEFAULT_LOG_ACTIVITY_FORMAT | back to summary |
|---|---|
| public static final ByteBufFormat DEFAULT_LOG_ACTIVITY_FORMAT The default ByteBufFormat is SIMPLE | |
| DEFAULT_LOG_ENABLED | back to summary |
|---|---|
| public static final boolean DEFAULT_LOG_ENABLED The default log enabled = false | |
| DEFAULT_PORT | back to summary |
|---|---|
| public static final int DEFAULT_PORT The default value for the port = | |
| DEFAULT_QUERY_TIMEOUT | back to summary |
|---|---|
| public static final long DEFAULT_QUERY_TIMEOUT The default value for the query timeout in millis = | |
| DEFAULT_RECURSION_DESIRED | back to summary |
|---|---|
| public static final boolean DEFAULT_RECURSION_DESIRED The default value for the recursion desired flag (RD) = | |
| host | back to summary |
|---|---|
| private String host | |
| logActivity | back to summary |
|---|---|
| private boolean logActivity | |
| port | back to summary |
|---|---|
| private int port | |
| queryTimeout | back to summary |
|---|---|
| private long queryTimeout | |
| recursionDesired | back to summary |
|---|---|
| private boolean recursionDesired | |
| DnsClientOptions | back to summary |
|---|---|
| public DnsClientOptions() | |
| DnsClientOptions | back to summary |
|---|---|
| public DnsClientOptions(JsonObject json)
References Deprecated
See corresponding docs for further information. | |
| DnsClientOptions | back to summary |
|---|---|
| public DnsClientOptions(DnsClientOptions other) | |
| getActivityLogFormat | back to summary |
|---|---|
public ByteBufFormat getActivityLogFormat()
| |
| getHost | back to summary |
|---|---|
| public String getHost() Get the host name to be used by this client in requests.
| |
| getLogActivity | back to summary |
|---|---|
public boolean getLogActivity()
| |
| getPort | back to summary |
|---|---|
| public int getPort() Get the port to be used by this client in requests.
| |
| getQueryTimeout | back to summary |
|---|---|
public long getQueryTimeout()
| |
| isRecursionDesired | back to summary |
|---|---|
| public boolean isRecursionDesired() Return whether or not recursion is desired
| |
| setActivityLogFormat | back to summary |
|---|---|
| public DnsClientOptions setActivityLogFormat(ByteBufFormat activityLogFormat) Set the value of Netty's logging handler's data format: Netty's pipeline is configured for logging on Netty's logger.
| |
| setHost | back to summary |
|---|---|
| public DnsClientOptions setHost(String host) Set the host name to be used by this client in requests.
| |
| setLogActivity | back to summary |
|---|---|
| public DnsClientOptions setLogActivity(boolean logActivity) Set to true to enable network activity logging: Netty's pipeline is configured for logging on Netty's logger.
| |
| setPort | back to summary |
|---|---|
| public DnsClientOptions setPort(int port) Set the port to be used by this client in requests.
| |
| setQueryTimeout | back to summary |
|---|---|
| public DnsClientOptions setQueryTimeout(long queryTimeout) Set the query timeout in milliseconds, i.e the amount of time after a query is considered to be failed.
| |
| setRecursionDesired | back to summary |
|---|---|
| public DnsClientOptions setRecursionDesired(boolean recursionDesired) Set whether or not recursion is desired
| |
| toJson | back to summary |
|---|---|
| public JsonObject toJson()
References Deprecated
See corresponding docs for further information. | |