All Products
Search
Document Center

HTTPDNS:Common data structure interfaces (Deprecated)

Last Updated:Dec 15, 2025

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

NotUseHttpDnsFilter

Parameter description

Parameter

Type

Required

Description

host

String

Yes

The domain name.

Return value description

Type

Description

boolean

  • true: Filters the current domain name. The domain name is not parsed by HTTPDNS on the cloud.

  • false: Does not filter the current domain name. The domain name is parsed by HTTPDNS on the cloud.