Package org.mockserver.cli
Class Main
java.lang.Object
org.mockserver.cli.Main
- Author:
- jamesdbloom
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Main
public Main()
-
-
Method Details
-
main
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
-