Introduction
This document describes the common data structures and interfaces in the HTTPDNS software development kit (SDK).
DegradationFilter
An interface that specifies the domain names that are not to be parsed using HTTPDNS.
shouldDegradeHttpDNS
Determines whether to prevent HTTPDNS from parsing the specified domain name.
Interface definition
boolean shouldDegradeHttpDNS(String host)
Parent interface
DegradationFilter
Introduced in version
2.0.2
Deprecated in version
2.4.0
Replacement interface
Parameter description
Parameter | Type | Required | Description |
host | String | Yes | The domain name. |
Return value description
Type | Description |
boolean |
|
ILogger
An interface for logging.
log
Logs a message.
Interface definition
void log(String msg)
Introduced in version
1.3.2
Deprecated in version
2.6.9
Parent interface
ILogger
Replacement interface
Parameters
Parameter | Type | Required | Description |
msg | String | Yes | The log message. |