Skip to content

DefaultFirstPartyHostHeaderTypeResolver

Xavier F. Gouchet edited this page Sep 4, 2024 · 1 revision

class DefaultFirstPartyHostHeaderTypeResolver(hosts: Map<String, Set<TracingHeaderType>>) : FirstPartyHostHeaderTypeResolver

Default implementation of FirstPartyHostHeaderTypeResolver.

Parameters

hosts Map of hosts and associated tracing header types to initialize instance with.

Constructors

DefaultFirstPartyHostHeaderTypeResolver

constructor(hosts: Map<String, Set<TracingHeaderType>>)

Parameters
hosts Map of hosts and associated tracing header types to initialize instance with.

Functions

getAllHeaderTypes

open override fun getAllHeaderTypes(): Set<TracingHeaderType>

headerTypesForUrl

open override fun headerTypesForUrl(url: String): Set<TracingHeaderType>

open override fun headerTypesForUrl(url: HttpUrl): Set<TracingHeaderType>

isEmpty

open override fun isEmpty(): Boolean

isFirstPartyUrl

open override fun isFirstPartyUrl(url: HttpUrl): Boolean

open override fun isFirstPartyUrl(url: String): Boolean

Clone this wiki locally