| 类 | 说明 |
|---|---|
| LoadBalancingHttpClient |
The http client is implemented with the popular okhttp module, which can be used out of the box without any configuration:
HttpRequest request = new HttpRequest.Builder()
.verb(HttpRequest.Verb.GET)
.uri("https://github.com")
.build();
LoadBalancingHttpClient httpClient = new LoadBalancingHttpClient();
HttpResponse response = httpClient.execute(request, null);
|
Copyright © 2018. All rights reserved.