Class ApacheConstants


  • public final class ApacheConstants
    extends Object
    Utility OS-depentant methods to get default Apache Web Server executable shell command and configuration file locations.
    Restriction:
    This class is not intended to be sub-classed by clients.
    Restriction:
    This class is not intended to be instantiated by clients.
    • Method Detail

      • configPath

        public static Path configPath()
        Returns path to the Apache Web Server configuration file in the appropriate OS.
        Returns:
        path to the Apache Web Server configuration file, never null
      • shellCommand

        public static String shellCommand()
        Returns executable shell command to manage Apache Web Server in the appropriate OS. Can be used to restart web server service.
        Returns:
        executable shell command to manage Apache Web Server, never null