| Package | Description |
|---|---|
| org.wisdom.test.http |
Provides the classes used to simplify the test of HTTP Requests in blackbox test.
|
| Modifier and Type | Method and Description |
|---|---|
Future<HttpResponse<InputStream>> |
BaseRequest.asBinaryAsync(Callback<InputStream> callback)
Gets the request results as binary.
|
Future<HttpResponse<com.fasterxml.jackson.databind.JsonNode>> |
BaseRequest.asJsonAsync(Callback<com.fasterxml.jackson.databind.JsonNode> callback)
Gets the request results as String.
|
Future<HttpResponse<String>> |
BaseRequest.asStringAsync(Callback<String> callback)
Gets the request results as String.
|
private static <T> org.apache.http.concurrent.FutureCallback<org.apache.http.HttpResponse> |
HttpClientHelper.prepareCallback(Class<T> responseClass,
Callback<T> callback) |
static <T> Future<HttpResponse<T>> |
HttpClientHelper.requestAsync(HttpRequest request,
Class<T> responseClass,
Callback<T> callback)
Emits an asynchronous request.
|
Copyright © 2013–2015 Wisdom Framework. All rights reserved.