public final class AsyncHttpClientFactoryEmbed
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private static class |
AsyncHttpClientFactoryEmbed.CustomTrustManager
class CustomTrustManager.
|
Modifier and Type | Field and Description |
---|---|
private com.ning.http.client.AsyncHttpClient |
fastClient
The fast client.
|
private static org.slf4j.Logger |
logger
The logger.
|
private com.ning.http.client.AsyncHttpClient |
slowClient
The slow client.
|
Constructor and Description |
---|
AsyncHttpClientFactoryEmbed()
Instantiates a new http client factory embed.
|
Modifier and Type | Method and Description |
---|---|
private void |
disableCertificateVerification()
Disable certificate verification.
|
com.ning.http.client.AsyncHttpClient |
getFastClient()
Gets the fast client.
|
com.ning.http.client.AsyncHttpClient |
getSlowClient()
Gets the slow client.
|
void |
state()
dummy.
|
private static org.slf4j.Logger logger
private final com.ning.http.client.AsyncHttpClient fastClient
private final com.ning.http.client.AsyncHttpClient slowClient
public AsyncHttpClientFactoryEmbed()
public com.ning.http.client.AsyncHttpClient getFastClient()
public com.ning.http.client.AsyncHttpClient getSlowClient()
private void disableCertificateVerification() throws java.security.KeyManagementException, java.security.NoSuchAlgorithmException
java.security.KeyManagementException
- the key management exceptionjava.security.NoSuchAlgorithmException
- the no such algorithm exceptionpublic void state()