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, verify
calculatePath, contextPath, formatErrorMessage, remoteAddress, sendRequest
public ClientAndProxy(Integer port)
public static ClientAndProxy startClientAndProxy(Integer port)
public static ClientAndProxy startClientAndDirectProxy(Integer port, String remoteHost, Integer remotePort)
public boolean isRunning()
ProxyClient
isRunning
in class ProxyClient
Copyright © 2018. All rights reserved.