public class Main extends Object
Constructor and Description |
---|
Main() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String... arguments)
Run the MockServer directly providing the parseArguments for the server and httpProxyBuilder as the only input parameters (if not provided the server port defaults to 8080 and the httpProxyBuilder is not started).
|
public static void main(String... arguments)
arguments
- the entries are in pairs:
- "-serverPort" followed by the server port if not provided the MockServer is not started,
- "-proxyPort" followed by the proxy port if not provided the Proxy is not started,
- "-proxyRemotePort" followed by the proxyRemotePort port,
- "-proxyRemoteHost" followed by the proxyRemoteHost portCopyright © 2018. All rights reserved.