public class HttpClientImpl extends Object implements IHttpClient
| Constructor and Description |
|---|
HttpClientImpl() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
readAllBytes(InputStream aInputStream) |
static byte[] |
readFully(InputStream aInputStream,
int length) |
static void |
registerGlobalProxyAuthenticator()
Registers LocalThreadProxyAuthenticator
|
HttpResponse |
send(HttpRequest aRequest,
HttpRequestParameters aRequestParameters) |
public static void registerGlobalProxyAuthenticator()
public HttpResponse send(HttpRequest aRequest, HttpRequestParameters aRequestParameters) throws HttpConnectException, HttpReadException, HttpWriteException
send in interface IHttpClientHttpConnectExceptionHttpReadExceptionHttpWriteExceptionpublic static byte[] readFully(InputStream aInputStream, int length) throws IOException
IOExceptionpublic static byte[] readAllBytes(InputStream aInputStream) throws IOException
IOExceptionCopyright © 2022. All rights reserved.