|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.undercouch.gradle.tasks.download.internal.DefaultHttpClientFactory
public class DefaultHttpClientFactory
Default implementation of HttpClientFactory. Creates a new client
every time createHttpClient(HttpHost, boolean) is called. The
caller is responsible for closing this client.
| Constructor Summary | |
|---|---|
DefaultHttpClientFactory()
|
|
| Method Summary | |
|---|---|
org.apache.http.impl.client.CloseableHttpClient |
createHttpClient(org.apache.http.HttpHost httpHost,
boolean acceptAnyCertificate)
Creates an HTTP client for the given host |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultHttpClientFactory()
| Method Detail |
|---|
public org.apache.http.impl.client.CloseableHttpClient createHttpClient(org.apache.http.HttpHost httpHost,
boolean acceptAnyCertificate)
HttpClientFactory
createHttpClient in interface HttpClientFactoryhttpHost - the host to connect toacceptAnyCertificate - true if HTTPS certificate verification
errors should be ignored and any certificate (even an invalid one)
should be accepted
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||