Package org.eclipse.jgit.transport.http
Interface HttpConnectionFactory
-
- All Known Implementing Classes:
JDKHttpConnectionFactory
public interface HttpConnectionFactory
The interface of a factory returningHttpConnection
- Since:
- 3.3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HttpConnection
create(java.net.URL url)
Creates a new connection to a destination defined by aURL
HttpConnection
create(java.net.URL url, java.net.Proxy proxy)
Creates a new connection to a destination defined by aURL
using a proxy
-
-
-
Method Detail
-
create
HttpConnection create(java.net.URL url) throws java.io.IOException
Creates a new connection to a destination defined by aURL
- Parameters:
url
-- Returns:
- a
HttpConnection
- Throws:
java.io.IOException
-
create
HttpConnection create(java.net.URL url, java.net.Proxy proxy) throws java.io.IOException
Creates a new connection to a destination defined by aURL
using a proxy- Parameters:
url
-proxy
- the proxy to be used- Returns:
- a
HttpConnection
- Throws:
java.io.IOException
-
-