public class ClientAndServer extends MockServerClient
MockServerClient.TYPEcontextPath, 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, whencalculatePath, contextPath, formatErrorMessage, remoteAddress, sendRequestpublic ClientAndServer()
public ClientAndServer(Integer... port)
protected ClientAndServer(MockServer server)
public static ClientAndServer startClientAndServer(Integer... port)
public Integer getPort()
Copyright © 2018. All rights reserved.