Defines a dispatcher that can modify itself dynamically from REST requests and responses.
| Type Params | Return Type | Name and description |
|---|---|---|
|
boolean |
shouldAddRuleFor(RestMockRequest restMockRequest)Indicates whether the dispatcher will modify the current list of dispatch rules using the request. |
|
void |
updateWith(RestMockRequest mockRequest, RestMockResponse mockResult)Modify the dispatch rules of this dispatcher using the supplied mock request and result |
Indicates whether the dispatcher will modify the current list of dispatch rules using the request.
Modify the dispatch rules of this dispatcher using the supplied mock request and result