public class HTTPClient extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HTTPClient.HTTPResponseMessage
HTTPResponse Message Bean class.
|
| Constructor and Description |
|---|
HTTPClient(URI baseURI,
String path,
Boolean auth,
Boolean keepAlive,
String methodType,
String contentType,
String userName,
String password) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBodyContent(String body) |
HttpURLConnection |
getConnection() |
HTTPClient.HTTPResponseMessage |
getResponse() |
public HTTPClient(URI baseURI, String path, Boolean auth, Boolean keepAlive, String methodType, String contentType, String userName, String password) throws IOException
IOExceptionpublic HttpURLConnection getConnection()
public void addBodyContent(String body)
public HTTPClient.HTTPResponseMessage getResponse() throws IOException
IOExceptionCopyright © 2019 WSO2. All rights reserved.