Class HeaderService


  • public class HeaderService
    extends java.lang.Object
    Obtains the header set from the Cloud Service (/v1/detect/headers) and caches them.
    • Constructor Detail

    • Method Detail

      • getHeaders

        public ClientHeader[] getHeaders()
        First attempts to get the headers from the cache. If cached headers are not available/stale, then get them from the cloud service. If the previous two methods fails then return the hard coded fallback set.
        Returns: