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() |
static void |
setConnectionFactory(HttpConnectionFactory cf)
Set the
HttpConnectionFactory to be used to create new
connections |
applyConfig, close, fetch, findRemoteRefUpdatesFor, findRemoteRefUpdatesFor, getCredentialsProvider, getOptionReceivePack, getOptionUploadPack, getPackConfig, getTagOpt, getTimeout, getTransportProtocols, getURI, isCheckFetchedObjects, isDryRun, isFetchThin, isPushThin, isRemoveDeletedRefs, open, open, open, open, open, open, open, openAll, openAll, openAll, openAll, openFetch, openPush, push, push, register, setCheckFetchedObjects, setCredentialsProvider, setDryRun, setFetchThin, setOptionReceivePack, setOptionUploadPack, setPackConfig, setPushThin, setRemoveDeletedRefs, setTagOpt, setTimeout, unregisterprotected 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).protected HttpTransport(URIish uri)
uri - public static HttpConnectionFactory getConnectionFactory()
HttpConnectionFactory used to create new connectionspublic static void setConnectionFactory(HttpConnectionFactory cf)
HttpConnectionFactory to be used to create new
connectionscf - Copyright © 2014. All rights reserved.