public interface ExpectationForwardAndResponseCallback extends ExpectationForwardCallback
|Modifier and Type||Method and Description|
Called for every request when expectation condition has been satisfied.
Called for every response received from a proxied request, the return value is the returned by MockServer.
default HttpRequest handle(HttpRequest httpRequest) throws Exception
HttpResponse handle(HttpRequest httpRequest, HttpResponse httpResponse) throws Exception
httpRequest- the request that was proxied
httpResponse- the response the MockServer will return
Copyright © 2020. All rights reserved.