public class HttpClient extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpClient.HttpResponse |
| Constructor and Description |
|---|
HttpClient(String host,
int port,
boolean verify)
HttpClient constructor to provided host and port.
|
| Modifier and Type | Method and Description |
|---|---|
HttpClient.HttpResponse |
request(String method,
String body,
String path)
only supports json bodies for now.
|
public HttpClient(String host, int port, boolean verify)
public HttpClient.HttpResponse request(String method, String body, String path)
Copyright © 2020. All rights reserved.