FirstPartyHostHeaderTypeResolver - DataDog/dd-sdk-android GitHub Wiki
interface FirstPartyHostHeaderTypeResolver
Interface to be implemented by the class which wants to check if the given url is first party and if there is any tracing header types associated with it.
Inheritors
DefaultFirstPartyHostHeaderTypeResolver |
Functions
getAllHeaderTypes
abstract fun getAllHeaderTypes(): Set<TracingHeaderType>
Returns all tracing header types registered.
headerTypesForUrl
abstract fun headerTypesForUrl(url: String): Set<TracingHeaderType>
abstract fun headerTypesForUrl(url: HttpUrl): Set<TracingHeaderType>
Returns the set of tracing header types associated with given URL.
Parameters
url | URL to check. |
isEmpty
abstract fun isEmpty(): Boolean
Shows if resolver has any first party URLs registered or not.
isFirstPartyUrl
abstract fun isFirstPartyUrl(url: HttpUrl): Boolean
abstract fun isFirstPartyUrl(url: String): Boolean
Check if given URL is first party.
Parameters
url | URL to check. |