public class XiHttpClient extends Object
| Constructor and Description |
|---|
XiHttpClient() |
XiHttpClient(SslContextConf sslContextConf) |
XiHttpClient(SSLSocketFactory sslSocketFactory,
HostnameVerifier hostnameVerifier) |
| Modifier and Type | Method and Description |
|---|---|
HttpRespContent |
httpGet(String url) |
HttpRespContent |
httpPost(String url,
String requestContentType,
byte[] request) |
HttpRespContent |
httpPost(String url,
String requestContentType,
byte[] request,
String expectedRespContentType) |
public XiHttpClient()
public XiHttpClient(SslContextConf sslContextConf) throws ObjectCreationException
ObjectCreationExceptionpublic XiHttpClient(SSLSocketFactory sslSocketFactory, HostnameVerifier hostnameVerifier)
public HttpRespContent httpGet(String url) throws IOException
IOExceptionpublic HttpRespContent httpPost(String url, String requestContentType, byte[] request, String expectedRespContentType) throws IOException
IOExceptionpublic HttpRespContent httpPost(String url, String requestContentType, byte[] request) throws IOException
IOExceptionCopyright © 2023. All rights reserved.