public class Main extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PROXY_PORT_KEY |
static String |
PROXY_REMOTE_HOST_KEY |
static String |
PROXY_REMOTE_PORT_KEY |
static String |
SERVER_PORT_KEY |
static String |
USAGE |
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 final String SERVER_PORT_KEY
public static final String PROXY_PORT_KEY
public static final String PROXY_REMOTE_PORT_KEY
public static final String PROXY_REMOTE_HOST_KEY
public static final String USAGE
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.