| 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 |
|---|---|
HttpResponse<InputStream> |
BaseRequest.asBinary()
Gets the request results as binary.
|
HttpResponse<org.jsoup.nodes.Document> |
BaseRequest.asHtml()
Gets the request results as HTML.
|
HttpResponse<com.fasterxml.jackson.databind.JsonNode> |
BaseRequest.asJson()
Gets the request results as JSON.
|
HttpResponse<String> |
BaseRequest.asString()
Gets the request results as String.
|
static <T> HttpResponse<T> |
HttpClientHelper.request(HttpRequest request,
Class<T> responseClass)
Executes the request.
|
| Modifier and Type | Method and Description |
|---|---|
Future<HttpResponse<InputStream>> |
BaseRequest.asBinaryAsync()
Gets the request results as binary.
|
Future<HttpResponse<InputStream>> |
BaseRequest.asBinaryAsync(Callback<InputStream> callback)
Gets the request results as binary.
|
Future<HttpResponse<com.fasterxml.jackson.databind.JsonNode>> |
BaseRequest.asJsonAsync()
Gets the request results as JSON.
|
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()
Gets the request results as String.
|
Future<HttpResponse<String>> |
BaseRequest.asStringAsync(Callback<String> callback)
Gets the request results as String.
|
static <T> Future<HttpResponse<T>> |
HttpClientHelper.requestAsync(HttpRequest request,
Class<T> responseClass,
Callback<T> callback)
Emits an asynchronous request.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Callback.completed(HttpResponse<T> response)
Method called when the HTTP Response is received.
|
Copyright © 2013–2014 Wisdom Framework. All rights reserved.