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- aURLobject.- Returns:
- a
HttpConnection - Throws:
IOException
-
create
Creates a new connection to a destination defined by aURLusing a proxy- Parameters:
url- aURLobject.proxy- the proxy to be used- Returns:
- a
HttpConnection - Throws:
IOException
-