Object POBAdomainHandler

  • All Implemented Interfaces:

    
    public class POBAdomainHandler
    
                        

    Handles in-memory storage and retrieval of advertiser domain (adomain) values keyed by POBAdFormat.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Unit recordLastAdomain(POBAdFormat adFormat, String aDomain) Stores an advertiser domain for the given ad format.
      final static String getLastAdomain(POBAdFormat adFormat) Returns the stored advertiser domain for the given ad format.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • recordLastAdomain

         final static Unit recordLastAdomain(POBAdFormat adFormat, String aDomain)

        Stores an advertiser domain for the given ad format.

        If aDomain is null or empty, the existing value for adFormat is left unchanged.

        Parameters:
        adFormat - The ad format key for adomain storage.
        aDomain - The advertiser domain to store, or null/empty to skip the update.
      • getLastAdomain

         final static String getLastAdomain(POBAdFormat adFormat)

        Returns the stored advertiser domain for the given ad format.

        Parameters:
        adFormat - The ad format key for adomain lookup.
        Returns:

        The stored domain, or null if none has been recorded for adFormat.