public interface HttpClient
| Modifier and Type | Interface and Description |
|---|---|
static interface |
HttpClient.Factory
Creates HttpClient instances.
|
| Modifier and Type | Method and Description |
|---|---|
HttpResponse |
execute(HttpRequest request,
boolean followRedirects)
Executes the given request.
|
HttpResponse execute(HttpRequest request, boolean followRedirects) throws IOException
request - the request to execute.followRedirects - whether to automatically follow redirects.IOException - if an I/O error occurs.Copyright © 2015. All rights reserved.