public abstract class IHttpClient extends Object implements Closeable
| Modifier and Type | Field and Description |
|---|---|
protected HttpClientConfig |
clientConfig |
| Constructor and Description |
|---|
IHttpClient() |
IHttpClient(HttpClientConfig clientConfig) |
| Modifier and Type | Method and Description |
|---|---|
abstract Future<HttpResponse> |
asyncInvoke(HttpRequest apiRequest,
CallBack callback) |
abstract void |
ignoreSSLCertificate()
Deprecated.
|
protected abstract void |
init(HttpClientConfig clientConfig) |
abstract boolean |
isSingleton() |
abstract void |
restoreSSLCertificate()
Deprecated.
|
abstract HttpResponse |
syncInvoke(HttpRequest apiRequest) |
protected HttpClientConfig clientConfig
public IHttpClient(HttpClientConfig clientConfig) throws ClientException
ClientExceptionpublic IHttpClient()
protected abstract void init(HttpClientConfig clientConfig) throws ClientException
ClientExceptionpublic abstract HttpResponse syncInvoke(HttpRequest apiRequest) throws IOException, ClientException
IOExceptionClientExceptionpublic abstract Future<HttpResponse> asyncInvoke(HttpRequest apiRequest, CallBack callback) throws IOException
IOException@Deprecated public abstract void ignoreSSLCertificate()
@Deprecated public abstract void restoreSSLCertificate()
public abstract boolean isSingleton()
Copyright © 2022. All rights reserved.