Modifier and Type | Method and Description |
---|---|
MockServerClient |
MockServerClient.clear(HttpRequest httpRequest)
Clear all expectations and logs that match the http
|
MockServerClient |
MockServerClient.clear(HttpRequest httpRequest,
ClearType type)
Clear expectations, logs or both that match the http
|
MockServerClient |
MockServerClient.reset()
Reset MockServer by clearing all expectations
|
MockServerClient |
MockServerClient.setRequestOverride(HttpRequest requestOverride) |
MockServerClient |
MockServerClient.verify(HttpRequest... httpRequests)
Verify a list of requests have been sent in the order specified for example:
|
MockServerClient |
MockServerClient.verify(HttpRequest httpRequest,
VerificationTimes times)
Verify a request has been sent for example:
|
MockServerClient |
MockServerClient.verifyZeroInteractions()
Verify no requests have been sent.
|
MockServerClient |
MockServerClient.withSecure(boolean secure) |
Modifier and Type | Method and Description |
---|---|
Future<MockServerClient> |
MockServerClient.stop(boolean ignoreFailure)
Stop MockServer gracefully (only support for Netty version, not supported for WAR version)
|
Future<MockServerClient> |
MockServerClient.stopAsync()
Stop MockServer gracefully (only support for Netty version, not supported for WAR version)
|
Modifier and Type | Method and Description |
---|---|
void |
ExpectationInitializer.initializeExpectations(MockServerClient mockServerClient)
Deprecated.
|
void |
PluginExpectationInitializer.initializeExpectations(MockServerClient mockServerClient) |
Modifier and Type | Class and Description |
---|---|
class |
ClientAndServer |
Modifier and Type | Method and Description |
---|---|
MockServerClient |
MockServerRule.getClient() |
Modifier and Type | Field and Description |
---|---|
protected static MockServerClient |
AbstractMockingIntegrationTestBase.mockServerClient |
Modifier and Type | Method and Description |
---|---|
abstract MockServerClient |
AbstractProxyIntegrationTest.getMockServerClient() |
Copyright © 2020. All rights reserved.