Top Description Methods
org.eclipse.jgit.transport.http

public Interface HttpConnectionFactory

Known Direct Subinterfaces
org.eclipse.jgit.transport.http.HttpConnectionFactory2
Imports
java.io.IOException, java.net.Proxy, .URL

The interface of a factory returning org.eclipse.jgit.transport.http.HttpConnection
Since
3.3

Method Summary

Modifier and TypeMethod and Description
public HttpConnection
create(URL
a java.net.URL object.
url
)

Creates a new connection to a destination defined by a java.net.URL

public HttpConnection
create(URL
a java.net.URL object.
url
,
Proxy
the proxy to be used
proxy
)

Creates a new connection to a destination defined by a java.net.URL using a proxy

Method Detail

createback to summary
public HttpConnection create(URL url) throws IOException

Creates a new connection to a destination defined by a java.net.URL

Parameters
url:URL

a java.net.URL object.

Returns:HttpConnection

a org.eclipse.jgit.transport.http.HttpConnection

Exceptions
IOException:
if an IO error occurred
createback to summary
public HttpConnection create(URL url, Proxy proxy) throws IOException

Creates a new connection to a destination defined by a java.net.URL using a proxy

Parameters
url:URL

a java.net.URL object.

proxy:Proxy

the proxy to be used

Returns:HttpConnection

a org.eclipse.jgit.transport.http.HttpConnection

Exceptions
IOException:
if an IO error occurred