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) |
HttpClient.Response |
get(String url,
Map<String,String> headers,
String charset) |
HttpClient.Response |
get(String url,
String charset) |
public static final String UTF_8
public HttpClient.Response get(String url) throws IOException
IOExceptionpublic HttpClient.Response get(String url, String charset) throws IOException
IOExceptionpublic HttpClient.Response get(String url, Map<String,String> headers) throws IOException
IOExceptionpublic HttpClient.Response get(String url, Map<String,String> headers, String charset) throws IOException
IOExceptionCopyright © 2021 JBoss by Red Hat. All rights reserved.