public final class HttpClientSupport extends Object
HttpClient and related components.| Modifier | Constructor and Description |
|---|---|
private |
HttpClientSupport()
Constructor to prevent instantiation.
|
| Modifier and Type | Method and Description |
|---|---|
static SSLConnectionSocketFactory |
buildNoTrustSSLConnectionSocketFactory()
Build an instance of
SSLConnectionSocketFactory which accepts all peer certificates
and performs no hostname verification. |
static X509TrustManager |
buildNoTrustX509TrustManager()
Build an instance of
X509TrustManager which trusts all certificates. |
private HttpClientSupport()
public static SSLConnectionSocketFactory buildNoTrustSSLConnectionSocketFactory()
SSLConnectionSocketFactory which accepts all peer certificates
and performs no hostname verification.public static X509TrustManager buildNoTrustX509TrustManager()
X509TrustManager which trusts all certificates.Copyright © 1999–2014. All rights reserved.