public interface HttpClient
Modifier and Type | Method and Description |
---|---|
Promise<ReceivedResponse> |
get(String httpUrl) |
Promise<ReceivedResponse> |
get(String httpUrl,
Action<? super RequestSpec> action) |
Promise<ReceivedResponse> |
post(String httpUrl,
Action<? super RequestSpec> action) |
Promise<ReceivedResponse> |
request(String httpUrl,
Action<? super RequestSpec> action) |
Promise<ReceivedResponse> get(String httpUrl)
Promise<ReceivedResponse> get(String httpUrl, Action<? super RequestSpec> action)
Promise<ReceivedResponse> post(String httpUrl, Action<? super RequestSpec> action)
Promise<ReceivedResponse> request(String httpUrl, Action<? super RequestSpec> action)