| Package | Description |
|---|---|
| ratpack.http.client |
| Modifier and Type | Method and Description |
|---|---|
RequestSpec |
RequestSpec.body(Action<? super RequestSpec.Body> action) |
RequestSpec |
RequestSpec.method(String method) |
| Modifier and Type | Method and Description |
|---|---|
Promise<ReceivedResponse> |
HttpClient.get(String httpUrl,
Action<? super RequestSpec> action) |
Promise<ReceivedResponse> |
HttpClient.post(String httpUrl,
Action<? super RequestSpec> action) |
Promise<ReceivedResponse> |
HttpClient.request(String httpUrl,
Action<? super RequestSpec> action) |