/** * creates a client for a mock server which only responds to a single http request * * @param request * the http request the mock server responds to * @param response * the response the mock server returns for the request * @return a client configured with this behavior */ public S requestSendsResponse(HttpRequest request, HttpResponse response) { return requestSendsResponse(request, response, createModule()); }
/** * creates a client for a mock server which only responds to a single http request * * @param request * the http request the mock server responds to * @param response * the response the mock server returns for the request * @return a client configured with this behavior */ public S requestSendsResponse(HttpRequest request, HttpResponse response) { return requestSendsResponse(request, response, createModule()); }