class TransportHttp.SmartHttpPushConnection extends BasePackPushConnection
CAPABILITY_DELETE_REFS, CAPABILITY_OFS_DELTA, CAPABILITY_PUSH_OPTIONS, CAPABILITY_REPORT_STATUS, CAPABILITY_SIDE_BAND_64K
additionalHaves, in, local, out, outNeedsEnd, pckIn, pckOut, statelessRPC, timeoutIn, timeoutOut, transport, uri
Constructor and Description |
---|
SmartHttpPushConnection(java.io.InputStream advertisement) |
Modifier and Type | Method and 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.
|
getPushOptions, noRepository, push, push
addUserAgentCapability, close, endOut, getPeerUserAgent, init, isCapableOf, readAdvertisedRefs, wantCapability
available, getMessages, getMessageWriter, getRef, getRefs, getRefsMap, markStartedOperation, setMessageWriter, setPeerUserAgent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, getMessages, getPeerUserAgent, getRef, getRefs, getRefsMap
SmartHttpPushConnection(java.io.InputStream advertisement) throws TransportException
TransportException
protected void doPush(ProgressMonitor monitor, java.util.Map<java.lang.String,RemoteRefUpdate> refUpdates, java.io.OutputStream outputStream) throws TransportException
BasePackPushConnection
doPush
in class BasePackPushConnection
monitor
- progress monitor to receive status updates.refUpdates
- update commands to be applied to the remote repository.outputStream
- output stream to write sideband messages toTransportException
- if any exception occurs.