Package org.eclipse.jgit.transport
Class TransportHttp.SmartHttpPushConnection
- java.lang.Object
-
- org.eclipse.jgit.transport.BaseConnection
-
- org.eclipse.jgit.transport.BasePackConnection
-
- org.eclipse.jgit.transport.BasePackPushConnection
-
- org.eclipse.jgit.transport.TransportHttp.SmartHttpPushConnection
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,Connection
,PushConnection
- Enclosing class:
- TransportHttp
class TransportHttp.SmartHttpPushConnection extends BasePackPushConnection
-
-
Field Summary
-
Fields inherited from class org.eclipse.jgit.transport.BasePackPushConnection
CAPABILITY_DELETE_REFS, CAPABILITY_OFS_DELTA, CAPABILITY_PUSH_OPTIONS, CAPABILITY_REPORT_STATUS, CAPABILITY_SIDE_BAND_64K
-
Fields inherited from class org.eclipse.jgit.transport.BasePackConnection
additionalHaves, CAPABILITY_SYMREF_PREFIX, in, local, out, outNeedsEnd, pckIn, pckOut, statelessRPC, timeoutIn, timeoutOut, transport, uri
-
-
Constructor Summary
Constructors Constructor Description SmartHttpPushConnection(java.io.InputStream advertisement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doPush(ProgressMonitor monitor, java.util.Map<java.lang.String,RemoteRefUpdate> refUpdates, java.io.OutputStream outputStream)
Push one or more objects and update the remote repository.-
Methods inherited from class org.eclipse.jgit.transport.BasePackPushConnection
getPushOptions, noRepository, push, push
-
Methods inherited from class org.eclipse.jgit.transport.BasePackConnection
addUserAgentCapability, close, endOut, getCapability, getPeerUserAgent, getProtocolVersion, init, isCapableOf, lsRefs, readAdvertisedRefs, setProtocolVersion, updateWithSymRefs, wantCapability
-
Methods inherited from class org.eclipse.jgit.transport.BaseConnection
available, getMessages, getMessageWriter, getRef, getRefs, getRefsMap, markStartedOperation, setMessageWriter, setPeerUserAgent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.jgit.transport.Connection
close, getMessages, getPeerUserAgent, getRef, getRefs, getRefsMap
-
-
-
-
Constructor Detail
-
SmartHttpPushConnection
SmartHttpPushConnection(java.io.InputStream advertisement) throws TransportException
- Throws:
TransportException
-
-
Method Detail
-
doPush
protected void doPush(ProgressMonitor monitor, java.util.Map<java.lang.String,RemoteRefUpdate> refUpdates, java.io.OutputStream outputStream) throws TransportException
Description copied from class:BasePackPushConnection
Push one or more objects and update the remote repository.- Overrides:
doPush
in classBasePackPushConnection
- Parameters:
monitor
- progress monitor to receive status updates.refUpdates
- update commands to be applied to the remote repository.outputStream
- output stream to write sideband messages to- Throws:
TransportException
- if any exception occurs.
-
-