public class ClientAndProxy extends ProxyClient
contextPath, expectationSerializer, host, httpRequestSerializer, logger, nettyHttpClient, port, verificationSequenceSerializer, verificationSerializer| Constructor and Description |
|---|
ClientAndProxy(Integer port) |
ClientAndProxy(Integer port,
String remoteHost,
Integer remotePort) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRunning()
Returns whether the proxy is running
|
static ClientAndProxy |
startClientAndDirectProxy(Integer port,
String remoteHost,
Integer remotePort) |
static ClientAndProxy |
startClientAndProxy(Integer port) |
clear, close, dumpToLogAsJava, dumpToLogAsJava, dumpToLogAsJSON, dumpToLogAsJSON, isRunning, reset, retrieveAsExpectations, retrieveAsJSON, stop, stop, verify, verifycalculatePath, contextPath, formatErrorMessage, remoteAddress, sendRequestpublic ClientAndProxy(Integer port)
public static ClientAndProxy startClientAndProxy(Integer port)
public static ClientAndProxy startClientAndDirectProxy(Integer port, String remoteHost, Integer remotePort)
public boolean isRunning()
ProxyClientisRunning in class ProxyClientCopyright © 2018. All rights reserved.