Package org.eclipse.jgit.transport.http
Interface HttpConnectionFactory
- All Known Subinterfaces:
HttpConnectionFactory2
- All Known Implementing Classes:
HttpClientConnectionFactory
,JDKHttpConnectionFactory
public interface HttpConnectionFactory
The interface of a factory returning
HttpConnection
- Since:
- 3.3
-
Method Details
-
create
Creates a new connection to a destination defined by aURL
- Parameters:
url
- aURL
object.- Returns:
- a
HttpConnection
- Throws:
IOException
-
create
Creates a new connection to a destination defined by aURL
using a proxy- Parameters:
url
- aURL
object.proxy
- the proxy to be used- Returns:
- a
HttpConnection
- Throws:
IOException
-