Package org.mockserver.cli
Class Main
- java.lang.Object
-
- org.mockserver.cli.Main
-
public class Main extends Object
- Author:
- jamesdbloom
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Main.Arguments
-
Field Summary
Fields Modifier and Type Field Description static PrintStream
systemOut
-
Constructor Summary
Constructors Constructor Description Main()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(String... arguments)
Run the MockServer directly providing the arguments as specified below.
-
-
-
Field Detail
-
systemOut
public static PrintStream systemOut
-
-
Method Detail
-
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
-
-