Package 

Class HostsSanitizer


  • 
    public final class HostsSanitizer
    
                        

    Utility class with the goal to perform host sanitization. Not intended for the public use.

    • Constructor Summary

      Constructors 
      Constructor Description
      HostsSanitizer()
    • Method Summary

      Modifier and Type Method Description
      final List<String> sanitizeHosts(List<String> hosts, String feature) Performs hosts sanitization by comparing them with patterns from pre-defined set.
      • Methods inherited from class java.lang.Object

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

      • HostsSanitizer

        HostsSanitizer()
    • Method Detail

      • sanitizeHosts

         final List<String> sanitizeHosts(List<String> hosts, String feature)

        Performs hosts sanitization by comparing them with patterns from pre-defined set.

        Parameters:
        hosts - Hosts to sanitize.
        feature - SDK feature requesting the sanitization.