Package | Description |
---|---|
org.ballerinalang.test.util |
Modifier and Type | Method and Description |
---|---|
static HttpResponse |
HttpClientRequest.doGet(String requestUrl)
Sends an HTTP GET request to a url.
|
static HttpResponse |
HttpClientRequest.doGet(String requestUrl,
boolean throwError)
Sends an HTTP GET request to a url.
|
static HttpResponse |
HttpClientRequest.doGet(String requestUrl,
int readTimeout,
HttpClientRequest.CheckedFunction responseBuilder)
Sends an HTTP GET request to a url.
|
static HttpResponse |
HttpClientRequest.doGet(String requestUrl,
Map<String,String> headers)
Sends an HTTP GET request to a url.
|
static HttpResponse |
HttpClientRequest.doHead(String requestUrl)
Sends an HTTP HEAD request to a url.
|
static HttpResponse |
HttpClientRequest.doHead(String requestUrl,
Map<String,String> headers)
Sends an HTTP HEAD request to a url.
|
static HttpResponse |
HttpClientRequest.doMultipartFormData(String requestUrl,
Map<String,String> headers,
Map<String,String> formData)
Sends multipart/form-data requests.
|
static HttpResponse |
HttpClientRequest.doOptions(String requestUrl,
Map<String,String> headers)
Sends an HTTP OPTIONS request to a url.
|
static HttpResponse |
HttpClientRequest.doPost(String endpoint,
String postBody,
Map<String,String> headers)
Send an HTTP POST request to a service.
|
Copyright © 2018 WSO2. All rights reserved.