public class JDKHttpConnectionFactory extends Object implements HttpConnectionFactory2
JDKHttpConnectionHttpConnectionFactory2.GitSession| Constructor and Description |
|---|
JDKHttpConnectionFactory() |
| 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 |
HttpConnectionFactory2.GitSession |
newSession()
Creates a new
HttpConnectionFactory2.GitSession instance that can be used with
connections created by this HttpConnectionFactory instance. |
public HttpConnection create(URL url) throws IOException
HttpConnectionFactoryURLcreate in interface HttpConnectionFactoryurl - a URL object.HttpConnectionIOExceptionpublic HttpConnection create(URL url, Proxy proxy) throws IOException
HttpConnectionFactoryURL using a proxycreate in interface HttpConnectionFactoryurl - a URL object.proxy - the proxy to be usedHttpConnectionIOExceptionpublic HttpConnectionFactory2.GitSession newSession()
HttpConnectionFactory2HttpConnectionFactory2.GitSession instance that can be used with
connections created by this HttpConnectionFactory instance.newSession in interface HttpConnectionFactory2HttpConnectionFactory2.GitSessionCopyright © 2021 Eclipse JGit Project. All rights reserved.