public final class DefaultHttpClientFactory extends Object implements IHttpClientFactory
AutoCloseHttpClient
.SslContextFactory
will trusts all certificates. This allows encrypted
communications with any SSL endpoint, but it does not verify the identity
associated with that certificate. You can change the default behavior by
specify the DefaultHttpClientFactory.Options.SSL_KEYSTORE_PATH
system property.DefaultHttpClientFactory.Options
Modifier and Type | Class and Description |
---|---|
static interface |
DefaultHttpClientFactory.Options |
Constructor and Description |
---|
DefaultHttpClientFactory() |
public org.eclipse.jetty.client.HttpClient newInstance()
IHttpClientFactory
HttpClient
.
Note: The caller MUST use AbstractLifeCycle.stop()
to terminate the
returned HttpClient
when they are done with it. Failure to do so
will leak resources.
newInstance
in interface IHttpClientFactory
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.