public class HttpClientConnectionFactory extends Object implements HttpConnectionFactory
HttpClientConnection| Constructor and Description |
|---|
HttpClientConnectionFactory() |
| Modifier and Type | Method and Description |
|---|---|
HttpConnection |
create(URL url)
Creates a new connection to a destination defined by a
URL |
HttpConnection |
create(URL url,
Proxy proxy)
Creates a new connection to a destination defined by a
URL using a proxy |
public HttpConnection create(URL url) throws IOException
URLcreate in interface HttpConnectionFactoryurl - a URL object.HttpConnectionIOExceptionpublic HttpConnection create(URL url, Proxy proxy) throws IOException
URL using a proxycreate in interface HttpConnectionFactoryurl - a URL object.proxy - the proxy to be usedHttpConnectionIOExceptionCopyright © 2019 Eclipse JGit Project. All rights reserved.