public abstract class HttpTransport extends Transport
Transport.Operation
Modifier and Type | Field and Description |
---|---|
protected static HttpConnectionFactory |
connectionFactory
factory for creating HTTP connections
|
DEFAULT_FETCH_THIN, DEFAULT_PUSH_THIN, local, REFSPEC_PUSH_ALL, REFSPEC_TAGS, uri
Modifier | Constructor and Description |
---|---|
protected |
HttpTransport(Repository local,
URIish uri)
Create a new transport instance.
|
protected |
HttpTransport(URIish uri)
Create a minimal HTTP transport instance not tied to a single repository.
|
Modifier and Type | Method and Description |
---|---|
static HttpConnectionFactory |
getConnectionFactory()
Get the
HttpConnectionFactory
used to create new connections |
static void |
setConnectionFactory(HttpConnectionFactory cf)
Set the
HttpConnectionFactory to
be used to create new connections |
applyConfig, close, fetch, findRemoteRefUpdatesFor, findRemoteRefUpdatesFor, findRemoteRefUpdatesFor, findRemoteRefUpdatesFor, getCredentialsProvider, getFilterBlobLimit, getObjectChecker, getOptionReceivePack, getOptionUploadPack, getPackConfig, getPushOptions, getTagOpt, getTimeout, getTransportProtocols, getURI, isCheckFetchedObjects, isDryRun, isFetchThin, isPushAtomic, isPushThin, isRemoveDeletedRefs, open, open, open, open, open, open, open, openAll, openAll, openAll, openAll, openFetch, openPush, push, push, register, setCheckFetchedObjects, setCredentialsProvider, setDryRun, setFetchThin, setFilterBlobLimit, setObjectChecker, setOptionReceivePack, setOptionUploadPack, setPackConfig, setPushAtomic, setPushOptions, setPushThin, setRemoveDeletedRefs, setTagOpt, setTimeout, unregister
protected static HttpConnectionFactory connectionFactory
protected HttpTransport(Repository local, URIish uri)
local
- the repository this instance will fetch into, or push out of.
This must be the repository passed to
Transport.open(Repository, URIish)
.uri
- the URI used to access the remote repository. This must be the
URI passed to Transport.open(Repository, URIish)
.public static HttpConnectionFactory getConnectionFactory()
HttpConnectionFactory
used to create new connectionsHttpConnectionFactory
used to create new connectionspublic static void setConnectionFactory(HttpConnectionFactory cf)
HttpConnectionFactory
to
be used to create new connectionscf
- connection factoryCopyright © 2018 Eclipse JGit Project. All rights reserved.