public class PrecannedTestExpectationResponseCallback extends Object implements ExpectationResponseCallback
Modifier and Type | Field and Description |
---|---|
static HttpResponse |
httpResponse |
Constructor and Description |
---|
PrecannedTestExpectationResponseCallback() |
Modifier and Type | Method and Description |
---|---|
HttpResponse |
handle(HttpRequest httpRequest)
Called for every request when expectation condition has been satisfied.
|
public static final HttpResponse httpResponse
public PrecannedTestExpectationResponseCallback()
public HttpResponse handle(HttpRequest httpRequest)
ExpectationResponseCallback
handle
in interface ExpectationCallback<HttpResponse>
handle
in interface ExpectationResponseCallback
httpRequest
- the request that satisfied the expectation conditionCopyright © 2020. All rights reserved.