Class Main

java.lang.Object
software.xdev.mockserver.cli.Main

public final class Main extends Object
  • Method Details

    • main

      public static void main(String... arguments)
      Run the MockServer directly providing the arguments as specified below.
      Parameters:
      arguments - the entries are in pairs: - "-serverPort" followed by the mandatory server local port, - "-proxyRemotePort" followed by the optional proxyRemotePort port that enabled port forwarding mode, - "-proxyRemoteHost" followed by the optional proxyRemoteHost port (ignored unless proxyRemotePort is specified) - "-logLevel" followed by the log level