public class HttpClient extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpClient.Response |
| Constructor and Description |
|---|
HttpClient() |
| Modifier and Type | Method and Description |
|---|---|
HttpClient.Response |
get(String url) |
HttpClient.Response |
get(String url,
Map<String,String> headers) |
public HttpClient.Response get(String url) throws IOException
IOExceptionpublic HttpClient.Response get(String url, Map<String,String> headers) throws IOException
IOExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.