public class Main extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Main.Arguments |
| 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 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 © 2020. All rights reserved.