Class URLValidator

    • Constructor Detail

      • URLValidator

        public URLValidator()
        Creates a URLValidator that only accepts the protocols configured within the JVM instance.
      • URLValidator

        public URLValidator​(boolean allowAllProtocols)
        Creates a URLValidator.
        Parameters:
        allowAllProtocols - Determines whether all protocols are accepted, or only those configured within the JVM instance.