public class ClientAndServer extends MockServerClient
MockServerClient.TYPE
contextPath, expectationSerializer, host, httpRequestSerializer, logger, nettyHttpClient, port, verificationSequenceSerializer, verificationSerializer
Modifier | Constructor and Description |
---|---|
|
ClientAndServer() |
|
ClientAndServer(Integer... port) |
protected |
ClientAndServer(MockServer server) |
Modifier and Type | Method and Description |
---|---|
Integer |
getPort() |
List<Integer> |
getPorts() |
static ClientAndServer |
startClientAndServer(Integer... port) |
clear, clear, close, dumpToLog, dumpToLog, isRunning, isRunning, reset, retrieveExistingExpectations, retrieveRecordedRequests, stop, stop, verify, verify, verifyZeroInteractions, when, when, when
calculatePath, contextPath, formatErrorMessage, remoteAddress, sendRequest
public ClientAndServer()
public ClientAndServer(Integer... port)
protected ClientAndServer(MockServer server)
public static ClientAndServer startClientAndServer(Integer... port)
public Integer getPort()
Copyright © 2018. All rights reserved.