Class DomainValidator.LazyHolder

  • Enclosing class:
    DomainValidator

    private static class DomainValidator.LazyHolder
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private LazyHolder()  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • DOMAIN_VALIDATOR

        private static final DomainValidator DOMAIN_VALIDATOR
        Singleton instance of this validator, which doesn't consider local addresses as valid.
      • DOMAIN_VALIDATOR_WITH_LOCAL

        private static final DomainValidator DOMAIN_VALIDATOR_WITH_LOCAL
        Singleton instance of this validator, which does consider local addresses valid.
    • Constructor Detail

      • LazyHolder

        private LazyHolder()