public class Main extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Main.Arguments |
Modifier and Type | Field and Description |
---|---|
static PrintStream |
systemOut |
Constructor and Description |
---|
Main() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String... arguments)
Run the MockServer directly providing the arguments as specified below.
|
public static PrintStream systemOut
public static void main(String... arguments)
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 levelCopyright © 2018. All rights reserved.