Class DocValHttpClientMain


  • public class DocValHttpClientMain
    extends Object
    Main class of the command-line client for the HTTP server validator.
    • Constructor Detail

      • DocValHttpClientMain

        public DocValHttpClientMain()
    • Method Detail

      • main

        public static void main​(String[] argv)
        Parse the command-line arguments and pass the given document to the server for validation. Theb parse the server response and print the result. Exit code is the number of errors found by the validation, or a negative number if the file could not be read or the server could not be reached.