class TransportHttp.SmartHttpPushConnection extends BasePackPushConnection
CAPABILITY_DELETE_REFS, CAPABILITY_OFS_DELTA, CAPABILITY_PUSH_OPTIONS, CAPABILITY_REPORT_STATUS, CAPABILITY_SIDE_BAND_64KadditionalHaves, 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, pushaddUserAgentCapability, close, endOut, getPeerUserAgent, init, isCapableOf, readAdvertisedRefs, wantCapabilityavailable, getMessages, getMessageWriter, getRef, getRefs, getRefsMap, markStartedOperation, setMessageWriter, setPeerUserAgentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getMessages, getPeerUserAgent, getRef, getRefs, getRefsMapSmartHttpPushConnection(java.io.InputStream advertisement)
throws TransportException
TransportExceptionprotected void doPush(ProgressMonitor monitor, java.util.Map<java.lang.String,RemoteRefUpdate> refUpdates, java.io.OutputStream outputStream) throws TransportException
BasePackPushConnectiondoPush in class BasePackPushConnectionmonitor - 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.