public class HttpClient extends Object
| Constructor and Description |
|---|
HttpClient() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.http.client.methods.HttpGet |
createGetHttpRequest(org.apache.http.client.utils.URIBuilder builder,
String username,
String password)
Create a Get Http Request using given parameters.
|
public static org.apache.http.client.methods.HttpGet createGetHttpRequest(org.apache.http.client.utils.URIBuilder builder,
String username,
String password)
throws URISyntaxException
builder - URI builder with endpoint URL.username - Username of the user.password - Password of the user.URISyntaxExceptionCopyright © 2022 WSO2. All rights reserved.