Class RemoteControl


  • public class RemoteControl
    extends Object
    Manager class for remote control operations. IMPORTANT! increment the minor version on compatible API extensions and increment the major version and set minor to 0 on incompatible changes.
    • Method Detail

      • start

        public static void start()
        Starts the remote control server
      • stop

        public static void stop()
        Stops the remote control server
        Since:
        5861
      • addRequestHandler

        public void addRequestHandler​(String command,
                                      Class<? extends RequestHandler> handlerClass)
        Adds external request handler. Can be used by plugins that want to use remote control.
        Parameters:
        command - The command name.
        handlerClass - The additional request handler.
      • getRemoteControlDir

        public static String getRemoteControlDir()
        Returns the remote control directory.
        Returns:
        The remote control directory
        Since:
        7335
      • getVersion

        public static String getVersion()
        Returns the RemoteControl HTTP protocol version
        Returns:
        the RemoteControl HTTP protocol version