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