(HttpMethod method, String url, int status, InputStream responseBody)
| 167 | } |
| 168 | |
| 169 | public MockClient add(HttpMethod method, String url, int status, InputStream responseBody) |
| 170 | throws IOException { |
| 171 | return add(RequestKey.builder(method, url).build(), status, responseBody); |
| 172 | } |
| 173 | |
| 174 | public MockClient add(HttpMethod method, String url, int status, String responseBody) { |
| 175 | return add(RequestKey.builder(method, url).build(), status, responseBody); |