TransportAmazonS3, TransportHttppublic abstract class HttpTransport extends Transport
Transport.Operation| Modifier and Type | Field | 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 | 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 | Description |
|---|---|---|
static HttpConnectionFactory |
getConnectionFactory() |
|
static void |
setConnectionFactory(HttpConnectionFactory cf) |
Set the
HttpConnectionFactory to be used to create new
connections |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyConfig, close, fetch, findRemoteRefUpdatesFor, findRemoteRefUpdatesFor, getCredentialsProvider, getObjectChecker, 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, setObjectChecker, 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 © 2018. All rights reserved.