-
public interface FirstPartyHostHeaderTypeResolverInterface 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.
-
-
Method Summary
Modifier and Type Method Description abstract BooleanisFirstPartyUrl(HttpUrl url)Check if given URL is first party. abstract BooleanisFirstPartyUrl(String url)Check if given URL is first party. abstract Set<TracingHeaderType>headerTypesForUrl(String url)Returns the set of tracing header types associated with given URL. abstract Set<TracingHeaderType>headerTypesForUrl(HttpUrl url)Returns the set of tracing header types associated with given URL. abstract Set<TracingHeaderType>getAllHeaderTypes()Returns all tracing header types registered. abstract BooleanisEmpty()Shows if resolver has any first party URLs registered or not. -
-
Method Detail
-
isFirstPartyUrl
abstract Boolean isFirstPartyUrl(HttpUrl url)
Check if given URL is first party.
- Parameters:
url- URL to check.
-
isFirstPartyUrl
abstract Boolean isFirstPartyUrl(String url)
Check if given URL is first party.
- Parameters:
url- URL to check.
-
headerTypesForUrl
abstract Set<TracingHeaderType> headerTypesForUrl(String url)
Returns the set of tracing header types associated with given URL.
- Parameters:
url- URL to check.
-
headerTypesForUrl
abstract Set<TracingHeaderType> headerTypesForUrl(HttpUrl url)
Returns the set of tracing header types associated with given URL.
- Parameters:
url- URL to check.
-
getAllHeaderTypes
abstract Set<TracingHeaderType> getAllHeaderTypes()
Returns all tracing header types registered.
-
-
-
-