Package | Description |
---|---|
org.eclipse.jgit.lfs | |
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 |
---|---|
private java.util.Map<java.lang.String,LfsPointer> |
LfsPrePushHook.requestBatchUpload(HttpConnection api,
java.util.Set<LfsPointer> toPush) |
private void |
LfsPrePushHook.uploadContents(HttpConnection api,
java.util.Map<java.lang.String,LfsPointer> oid2ptr) |
Modifier and Type | Method and Description |
---|---|
static HttpConnection |
LfsConnectionFactory.getLfsConnection(Repository db,
java.lang.String method,
java.lang.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,
java.lang.String method)
Create a connection for the specified
Protocol.Action . |
Modifier and Type | Field and Description |
---|---|
protected HttpConnection |
TransportHttp.Service.conn |
Modifier and Type | Method and Description |
---|---|
private HttpConnection |
TransportHttp.connect(java.lang.String service) |
protected HttpConnection |
TransportHttp.httpOpen(java.lang.String method,
java.net.URL u,
TransportHttp.AcceptEncoding acceptEncoding)
Open an HTTP connection.
|
Modifier and Type | Method and Description |
---|---|
(package private) abstract void |
HttpAuthMethod.configureRequest(HttpConnection conn)
Update connection properties based on this authentication method.
|
(package private) void |
HttpAuthMethod.None.configureRequest(HttpConnection conn) |
(package private) void |
HttpAuthMethod.Basic.configureRequest(HttpConnection conn) |
(package private) void |
HttpAuthMethod.Digest.configureRequest(HttpConnection conn) |
(package private) void |
HttpAuthMethod.Negotiate.configureRequest(HttpConnection conn) |
private FetchConnection |
TransportHttp.getConnection(HttpConnection c,
java.io.InputStream in,
java.lang.String service) |
private boolean |
TransportHttp.isGzipContent(HttpConnection c) |
private boolean |
TransportHttp.isSmartHttp(HttpConnection c,
java.lang.String service) |
(package private) java.io.InputStream |
TransportHttp.openInputStream(HttpConnection conn) |
(package private) void |
TransportHttp.processResponseCookies(HttpConnection conn) |
(package private) static HttpAuthMethod |
HttpAuthMethod.scanResponse(HttpConnection conn,
java.util.Collection<HttpAuthMethod.Type> ignoreTypes)
Handle an authentication failure and possibly return a new response.
|
private void |
TransportHttp.setCookieHeader(HttpConnection conn) |
private PushConnection |
TransportHttp.smartPush(java.lang.String service,
HttpConnection c,
java.io.InputStream in) |
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 |
HttpConnectionFactory.create(java.net.URL url)
Creates a new connection to a destination defined by a
URL |
HttpConnection |
JDKHttpConnectionFactory.create(java.net.URL url)
Creates a new connection to a destination defined by a
URL |
HttpConnection |
HttpConnectionFactory.create(java.net.URL url,
java.net.Proxy proxy)
Creates a new connection to a destination defined by a
URL using a proxy |
HttpConnection |
JDKHttpConnectionFactory.create(java.net.URL url,
java.net.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(java.net.URL url)
Creates a new connection to a destination defined by a
URL |
HttpConnection |
HttpClientConnectionFactory.create(java.net.URL url,
java.net.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 java.lang.String |
HttpSupport.responseHeader(HttpConnection c,
java.lang.String headerName)
Extract a HTTP header from the response.
|