| Package | Description |
|---|---|
| org.eclipse.jgit.lfs.internal | |
| org.eclipse.jgit.transport |
Transport (fetch/push) for different protocols.
|
| org.eclipse.jgit.transport.http | |
| org.eclipse.jgit.transport.http.apache | |
| org.eclipse.jgit.util |
Utility classes.
|
| Modifier and Type | Method and Description |
|---|---|
static HttpConnection |
LfsConnectionFactory.getLfsConnection(Repository db,
String method,
String purpose)
Determine URL of LFS server by looking into config parameters lfs.url,
lfs.[remote].url or remote.[remote].url.
|
static HttpConnection |
LfsConnectionFactory.getLfsContentConnection(Repository repo,
Protocol.Action action,
String method)
Create a connection for the specified
Protocol.Action. |
| Modifier and Type | Method and Description |
|---|---|
protected HttpConnection |
TransportHttp.httpOpen(String method,
URL u,
TransportHttp.AcceptEncoding acceptEncoding)
Open an HTTP connection.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JDKHttpConnection
A
HttpConnection which simply
delegates every call to a HttpURLConnection. |
| Modifier and Type | Method and Description |
|---|---|
HttpConnection |
JDKHttpConnectionFactory.create(URL url)
Creates a new connection to a destination defined by a
URL |
HttpConnection |
HttpConnectionFactory.create(URL url)
Creates a new connection to a destination defined by a
URL |
HttpConnection |
JDKHttpConnectionFactory.create(URL url,
Proxy proxy)
Creates a new connection to a destination defined by a
URL using a proxy |
HttpConnection |
HttpConnectionFactory.create(URL url,
Proxy proxy)
Creates a new connection to a destination defined by a
URL using a proxy |
| Modifier and Type | Class and Description |
|---|---|
class |
HttpClientConnection
A
HttpConnection which uses
HttpClient |
| Modifier and Type | Method and Description |
|---|---|
HttpConnection |
HttpClientConnectionFactory.create(URL url)
Creates a new connection to a destination defined by a
URL |
HttpConnection |
HttpClientConnectionFactory.create(URL url,
Proxy proxy)
Creates a new connection to a destination defined by a
URL using a proxy |
| Modifier and Type | Method and Description |
|---|---|
static void |
HttpSupport.disableSslVerify(HttpConnection conn)
Disable SSL and hostname verification for given HTTP connection
|
static int |
HttpSupport.response(HttpConnection c)
Get the HTTP response code from the request.
|
static String |
HttpSupport.responseHeader(HttpConnection c,
String headerName)
Extract a HTTP header from the response.
|
Copyright © 2020 Eclipse JGit Project. All rights reserved.