Package | Description |
---|---|
org.mockserver.client | |
org.mockserver.mock | |
org.mockserver.mock.action | |
org.mockserver.model | |
org.mockserver.serialization.java | |
org.mockserver.serialization.model |
Modifier and Type | Method and Description |
---|---|
void |
ForwardChainExpectation.forward(HttpClassCallback httpClassCallback)
Call method on local class in same JVM implementing ExpectationResponseCallback
to generate request to forward when expectation is matched
|
void |
ForwardChainExpectation.respond(HttpClassCallback httpClassCallback)
Call method on local class in same JVM implementing ExpectationResponseCallback
to generate response to return when expectation is matched
|
Modifier and Type | Method and Description |
---|---|
HttpClassCallback |
Expectation.getHttpForwardClassCallback() |
HttpClassCallback |
Expectation.getHttpResponseClassCallback() |
Modifier and Type | Method and Description |
---|---|
Expectation |
Expectation.thenForward(HttpClassCallback httpClassCallback) |
Expectation |
Expectation.thenRespond(HttpClassCallback httpClassCallback) |
Modifier and Type | Method and Description |
---|---|
HttpForwardActionResult |
HttpForwardClassCallbackActionHandler.handle(HttpClassCallback httpClassCallback,
HttpRequest request) |
HttpResponse |
HttpResponseClassCallbackActionHandler.handle(HttpClassCallback httpClassCallback,
HttpRequest request) |
Modifier and Type | Method and Description |
---|---|
static HttpClassCallback |
HttpClassCallback.callback()
Static builder to create a callback.
|
static HttpClassCallback |
HttpClassCallback.callback(Class<? extends ExpectationCallback<HttpRequest>> callbackClass)
Static builder to create a callback, which take a callback class.
|
static HttpClassCallback |
HttpClassCallback.callback(String callbackClass)
Static builder to create a callback, which take a callback class as a string.
|
HttpClassCallback |
HttpClassCallback.withActionType(Action.Type actionType) |
HttpClassCallback |
HttpClassCallback.withCallbackClass(Class<? extends ExpectationCallback<HttpRequest>> callbackClass)
The class to callback
|
HttpClassCallback |
HttpClassCallback.withCallbackClass(String callbackClass)
The class to callback as a fully qualified class name
|
Modifier and Type | Method and Description |
---|---|
String |
HttpClassCallbackToJavaSerializer.serialize(int numberOfSpacesToIndent,
HttpClassCallback httpClassCallback) |
Modifier and Type | Method and Description |
---|---|
HttpClassCallback |
HttpClassCallbackDTO.buildObject() |
Constructor and Description |
---|
HttpClassCallbackDTO(HttpClassCallback httpClassCallback) |
Copyright © 2020. All rights reserved.