|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.jgit.transport.Transport
org.eclipse.jgit.transport.HttpTransport
org.eclipse.jgit.transport.TransportHttp
public class TransportHttp
Transport over the non-Git aware HTTP and FTP protocol.
The HTTP transport does not require any specialized Git support on the remote (server side) repository. Object files are retrieved directly through standard HTTP GET requests, making it easy to serve a Git repository through a standard web host provider that does not offer specific support for Git.
WalkFetchConnection| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.jgit.transport.Transport |
|---|
Transport.Operation |
| Field Summary |
|---|
| Fields inherited from class org.eclipse.jgit.transport.Transport |
|---|
DEFAULT_FETCH_THIN, DEFAULT_PUSH_THIN, local, REFSPEC_PUSH_ALL, REFSPEC_TAGS, uri |
| Method Summary | |
|---|---|
void |
close()
Close any resources used by this transport. |
FetchConnection |
openFetch()
Begins a new connection for fetching from the remote repository. |
PushConnection |
openPush()
Begins a new connection for pushing into the remote repository. |
| Methods inherited from class org.eclipse.jgit.transport.Transport |
|---|
applyConfig, fetch, findRemoteRefUpdatesFor, findRemoteRefUpdatesFor, getOptionReceivePack, getOptionUploadPack, getTagOpt, getTimeout, getURI, isCheckFetchedObjects, isDryRun, isFetchThin, isPushThin, isRemoveDeletedRefs, open, open, open, open, open, openAll, openAll, openAll, openAll, push, setCheckFetchedObjects, setDryRun, setFetchThin, setOptionReceivePack, setOptionUploadPack, setPushThin, setRemoveDeletedRefs, setTagOpt, setTimeout |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public FetchConnection openFetch()
throws TransportException
Transport
openFetch in class TransportTransportException - the remote connection could not be established.
public PushConnection openPush()
throws NotSupportedException,
TransportException
Transport
openPush in class TransportNotSupportedException - the implementation does not support pushing.
TransportException - the remote connection could not be establishedpublic void close()
TransportIf the remote repository is contacted by a network socket this method must close that network socket, disconnecting the two peers. If the remote repository is actually local (same system) this method must close any open file handles used to read the "remote" repository.
close in class Transport
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||