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