Module org.eclipse.jgit.http.apache
Class HttpClientConnectionFactory
- java.lang.Object
-
- org.eclipse.jgit.transport.http.apache.HttpClientConnectionFactory
-
- All Implemented Interfaces:
HttpConnectionFactory,HttpConnectionFactory2
public class HttpClientConnectionFactory extends Object implements HttpConnectionFactory2
A factory returning instances ofHttpClientConnection.- Since:
- 3.3
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.jgit.transport.http.HttpConnectionFactory2
HttpConnectionFactory2.GitSession
-
-
Constructor Summary
Constructors Constructor Description HttpClientConnectionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpConnectioncreate(URL url)HttpConnectioncreate(URL url, Proxy proxy)HttpConnectionFactory2.GitSessionnewSession()
-
-
-
Method Detail
-
create
public HttpConnection create(URL url) throws IOException
- Specified by:
createin interfaceHttpConnectionFactory- Throws:
IOException
-
create
public HttpConnection create(URL url, Proxy proxy) throws IOException
- Specified by:
createin interfaceHttpConnectionFactory- Throws:
IOException
-
newSession
public HttpConnectionFactory2.GitSession newSession()
- Specified by:
newSessionin interfaceHttpConnectionFactory2
-
-