public class SVNGitDAVUpdateHandler
extends org.tmatesoft.svn.core.internal.server.dav.handlers.DAVUpdateHandler
BASE_CHECKSUM_ATTR, BC_URL_ATTR, CHECKSUM_ATTR, COPYFROM_PATH_ATTR, COPYFROM_REVISION_ATTR, DELETE_ATTR, DEPTH_ATTR, LINKPATH_ATTR, LOCK_TOKEN_ATTR, PATH_ATTR, REPORT_NAMESPACES, REVISION_ATTR, SEND_ALL_ATTR, START_EMPTY_ATTR, TXDELTA_ATTRACCEPT_ENCODING_HEADER, ACCEPT_RANGES_DEFAULT_VALUE, ACCEPT_RANGES_HEADER, BASE64_ENCODING, CACHE_CONTROL_HEADER, CACHE_CONTROL_VALUE, CAPABILITY_NO, CAPABILITY_YES, CONNECTION_HEADER, DATE_HEADER, DATED_REVISIONS_REPORT, DAV_MODE_WRITE_SEEKABLE, DAV_MODE_WRITE_TRUNC, DAV_RESPONSE_BODY_1, DAV_RESPONSE_BODY_2, DAV_RESPONSE_BODY_3, DAV_RESPONSE_BODY_4, DAV_RESPONSE_BODY_5, DAV_VALIDATE_ADD_LD, DAV_VALIDATE_IS_PARENT, DAV_VALIDATE_PARENT, DAV_VALIDATE_RESOURCE, DAV_VALIDATE_USE_424, DEFAULT_XML_CONTENT_TYPE, DEPTH_HEADER, DIFF_VERSION, DIFF_VERSION_1, ENCODING_ATTR, ETAG_HEADER, FILE_REVISIONS_REPORT, GET_DELETED_REVISION_REPORT, GET_LOCATION_SEGMENTS, GET_LOCATIONS, GET_LOCKS_REPORT, HTTP_NOT_FOUND_LINE, HTTP_STATUS_OK_LINE, IF_MATCH_HEADER, IF_MODIFIED_SINCE_HEADER, IF_NONE_MATCH_HEADER, IF_UNMODIFIED_SINCE_HEADER, KEEP_ALIVE_HEADER, LABEL_HEADER, LAST_MODIFIED_HEADER, LOCK_PATH_ELEM, LOCK_TOKEN_ELEM, LOG_REPORT, MERGEINFO_REPORT, NAME_ATTR, NAMESPACE_ATTR, OUR_CORE_LIVE_PROPS, OUR_LIVE_PROPS, RANGE_HEADER, REPLAY_REPORT, REPORT_ELEMENTS, SC_FAILED_DEPENDANCY, SC_HTTP_LOCKED, SC_MULTISTATUS, SVN_BASE_FULLTEXT_MD5_HEADER, SVN_CREATIONDATE_HEADER, SVN_DELTA_BASE_HEADER, SVN_LOCK_OWNER_HEADER, SVN_OPTIONS_HEADER, SVN_RESULT_FULLTEXT_MD5_HEADER, SVN_VERSION_NAME_HEADER, UPDATE_REPORT, USER_AGENT_HEADER, UTF8_ENCODING, VARY_HEADER| Constructor and Description |
|---|
SVNGitDAVUpdateHandler(org.tmatesoft.svn.core.internal.server.dav.DAVRepositoryManager repositoryManager,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.tmatesoft.svn.core.internal.server.dav.handlers.DAVReportHandler commonReportHandler) |
| Modifier and Type | Method and Description |
|---|---|
void |
abortEdit() |
void |
absentDir(String path) |
void |
absentFile(String path) |
void |
addDir(String path,
String copyFromPath,
long copyFromRevision) |
void |
addFile(String path,
String copyFromPath,
long copyFromRevision) |
protected void |
addXMLHeader(StringBuffer xmlBuffer,
String tagName) |
void |
applyTextDelta(String path,
String baseChecksum) |
void |
changeDirProperty(String name,
org.tmatesoft.svn.core.SVNPropertyValue value) |
void |
changeFileProperty(String path,
String name,
org.tmatesoft.svn.core.SVNPropertyValue value) |
void |
closeDir() |
org.tmatesoft.svn.core.SVNCommitInfo |
closeEdit() |
void |
closeFile(String path,
String textChecksum) |
void |
deleteEntry(String path,
long revision) |
void |
execute() |
org.tmatesoft.svn.core.internal.server.dav.handlers.DAVRequest |
getDAVRequest() |
protected void |
handleAttributes(org.tmatesoft.svn.core.internal.io.dav.DAVElement parent,
org.tmatesoft.svn.core.internal.io.dav.DAVElement element,
Attributes attrs) |
protected void |
handleCData(org.tmatesoft.svn.core.internal.io.dav.DAVElement parent,
org.tmatesoft.svn.core.internal.io.dav.DAVElement element,
StringBuffer cdata) |
void |
openDir(String path,
long revision) |
void |
openFile(String path,
long revision) |
void |
openRoot(long revision) |
void |
targetRevision(long revision) |
OutputStream |
textDeltaChunk(String path,
org.tmatesoft.svn.core.io.diff.SVNDiffWindow diffWindow) |
void |
textDeltaEnd(String path) |
addXMLFooter, checkSVNNamespace, doCompress, endElement, getDAVResource, getNamespaces, setDAVResource, setSVNDiffVersion, setWriteTextDeltaHeader, startElement, textDeltaChunkEnd, write, write, writePropertyTag, writeTextDeltaChunk, writeXMLFooter, writeXMLHeaderaddResponseHeader, appendServerSignature, autoCheckIn, autoCheckOut, canAutoCheckOut, checkIn, checkOut, checkPreconditions, constructURL, containsValue, copyResource, createdCollection, findLiveProperty, getCommitter, getConfig, getDeltaConsumer, getHttpServletResponse, getLockTokensList, getRepositoryManager, getRequest, getRequestDateHeader, getRequestDepth, getRequestedDAVResource, getRequestedDAVResource, getRequestHeader, getRequestHeaders, getRequestInputStream, getRequestMethod, getResourceState, getResponseOutputStream, getResponseWriter, getSAXParserFactory, getSupportedLiveProperties, getSVNDiffVersion, getTimeout, getURI, handleDAVCreated, handleError, isSVNDiff, moveResource, notifyCreated, openStream, parseLocks, parseRange, readInput, removeResource, response, sendError, setDefaultResponseHeaders, setResponseContentLength, setResponseContentType, setResponseHeader, setResponseStatus, uncheckOut, unlock, validateRequestallocateBuffer, characters, createPropertyValue, createPropertyValueFromBase64, endElement, endPrefixMapping, init, invalidXML, startElement, startPrefixMappingendDocument, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, unparsedEntityDecl, warningpublic SVNGitDAVUpdateHandler(org.tmatesoft.svn.core.internal.server.dav.DAVRepositoryManager repositoryManager,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.tmatesoft.svn.core.internal.server.dav.handlers.DAVReportHandler commonReportHandler)
public org.tmatesoft.svn.core.internal.server.dav.handlers.DAVRequest getDAVRequest()
getDAVRequest in class org.tmatesoft.svn.core.internal.server.dav.handlers.DAVUpdateHandlerprotected void handleAttributes(org.tmatesoft.svn.core.internal.io.dav.DAVElement parent,
org.tmatesoft.svn.core.internal.io.dav.DAVElement element,
Attributes attrs)
throws org.tmatesoft.svn.core.SVNException
handleAttributes in class org.tmatesoft.svn.core.internal.server.dav.handlers.DAVUpdateHandlerorg.tmatesoft.svn.core.SVNExceptionprotected void handleCData(org.tmatesoft.svn.core.internal.io.dav.DAVElement parent,
org.tmatesoft.svn.core.internal.io.dav.DAVElement element,
StringBuffer cdata)
throws org.tmatesoft.svn.core.SVNException
handleCData in class org.tmatesoft.svn.core.internal.server.dav.handlers.DAVUpdateHandlerorg.tmatesoft.svn.core.SVNExceptionpublic void execute()
throws org.tmatesoft.svn.core.SVNException
execute in class org.tmatesoft.svn.core.internal.server.dav.handlers.DAVUpdateHandlerorg.tmatesoft.svn.core.SVNExceptionprotected void addXMLHeader(StringBuffer xmlBuffer, String tagName)
addXMLHeader in class org.tmatesoft.svn.core.internal.server.dav.handlers.DAVUpdateHandlerpublic void targetRevision(long revision)
throws org.tmatesoft.svn.core.SVNException
targetRevision in interface org.tmatesoft.svn.core.io.ISVNEditortargetRevision in class org.tmatesoft.svn.core.internal.server.dav.handlers.DAVUpdateHandlerorg.tmatesoft.svn.core.SVNExceptionpublic void openRoot(long revision)
throws org.tmatesoft.svn.core.SVNException
openRoot in interface org.tmatesoft.svn.core.io.ISVNEditoropenRoot in class org.tmatesoft.svn.core.internal.server.dav.handlers.DAVUpdateHandlerorg.tmatesoft.svn.core.SVNExceptionpublic void deleteEntry(String path, long revision) throws org.tmatesoft.svn.core.SVNException
deleteEntry in interface org.tmatesoft.svn.core.io.ISVNEditordeleteEntry in class org.tmatesoft.svn.core.internal.server.dav.handlers.DAVUpdateHandlerorg.tmatesoft.svn.core.SVNExceptionpublic void absentDir(String path) throws org.tmatesoft.svn.core.SVNException
absentDir in interface org.tmatesoft.svn.core.io.ISVNEditorabsentDir in class org.tmatesoft.svn.core.internal.server.dav.handlers.DAVUpdateHandlerorg.tmatesoft.svn.core.SVNExceptionpublic void absentFile(String path) throws org.tmatesoft.svn.core.SVNException
absentFile in interface org.tmatesoft.svn.core.io.ISVNEditorabsentFile in class org.tmatesoft.svn.core.internal.server.dav.handlers.DAVUpdateHandlerorg.tmatesoft.svn.core.SVNExceptionpublic void addDir(String path, String copyFromPath, long copyFromRevision) throws org.tmatesoft.svn.core.SVNException
addDir in interface org.tmatesoft.svn.core.io.ISVNEditoraddDir in class org.tmatesoft.svn.core.internal.server.dav.handlers.DAVUpdateHandlerorg.tmatesoft.svn.core.SVNExceptionpublic void openDir(String path, long revision) throws org.tmatesoft.svn.core.SVNException
openDir in interface org.tmatesoft.svn.core.io.ISVNEditoropenDir in class org.tmatesoft.svn.core.internal.server.dav.handlers.DAVUpdateHandlerorg.tmatesoft.svn.core.SVNExceptionpublic void changeDirProperty(String name, org.tmatesoft.svn.core.SVNPropertyValue value) throws org.tmatesoft.svn.core.SVNException
changeDirProperty in interface org.tmatesoft.svn.core.io.ISVNEditorchangeDirProperty in class org.tmatesoft.svn.core.internal.server.dav.handlers.DAVUpdateHandlerorg.tmatesoft.svn.core.SVNExceptionpublic void closeDir()
throws org.tmatesoft.svn.core.SVNException
closeDir in interface org.tmatesoft.svn.core.io.ISVNEditorcloseDir in class org.tmatesoft.svn.core.internal.server.dav.handlers.DAVUpdateHandlerorg.tmatesoft.svn.core.SVNExceptionpublic void addFile(String path, String copyFromPath, long copyFromRevision) throws org.tmatesoft.svn.core.SVNException
addFile in interface org.tmatesoft.svn.core.io.ISVNEditoraddFile in class org.tmatesoft.svn.core.internal.server.dav.handlers.DAVUpdateHandlerorg.tmatesoft.svn.core.SVNExceptionpublic void openFile(String path, long revision) throws org.tmatesoft.svn.core.SVNException
openFile in interface org.tmatesoft.svn.core.io.ISVNEditoropenFile in class org.tmatesoft.svn.core.internal.server.dav.handlers.DAVUpdateHandlerorg.tmatesoft.svn.core.SVNExceptionpublic void changeFileProperty(String path, String name, org.tmatesoft.svn.core.SVNPropertyValue value) throws org.tmatesoft.svn.core.SVNException
changeFileProperty in interface org.tmatesoft.svn.core.io.ISVNEditorchangeFileProperty in class org.tmatesoft.svn.core.internal.server.dav.handlers.DAVUpdateHandlerorg.tmatesoft.svn.core.SVNExceptionpublic void closeFile(String path, String textChecksum) throws org.tmatesoft.svn.core.SVNException
closeFile in interface org.tmatesoft.svn.core.io.ISVNEditorcloseFile in class org.tmatesoft.svn.core.internal.server.dav.handlers.DAVUpdateHandlerorg.tmatesoft.svn.core.SVNExceptionpublic org.tmatesoft.svn.core.SVNCommitInfo closeEdit()
throws org.tmatesoft.svn.core.SVNException
closeEdit in interface org.tmatesoft.svn.core.io.ISVNEditorcloseEdit in class org.tmatesoft.svn.core.internal.server.dav.handlers.DAVUpdateHandlerorg.tmatesoft.svn.core.SVNExceptionpublic void abortEdit()
throws org.tmatesoft.svn.core.SVNException
abortEdit in interface org.tmatesoft.svn.core.io.ISVNEditorabortEdit in class org.tmatesoft.svn.core.internal.server.dav.handlers.DAVUpdateHandlerorg.tmatesoft.svn.core.SVNExceptionpublic void applyTextDelta(String path, String baseChecksum) throws org.tmatesoft.svn.core.SVNException
applyTextDelta in interface org.tmatesoft.svn.core.io.ISVNDeltaConsumerapplyTextDelta in class org.tmatesoft.svn.core.internal.server.dav.handlers.DAVUpdateHandlerorg.tmatesoft.svn.core.SVNExceptionpublic OutputStream textDeltaChunk(String path, org.tmatesoft.svn.core.io.diff.SVNDiffWindow diffWindow) throws org.tmatesoft.svn.core.SVNException
textDeltaChunk in interface org.tmatesoft.svn.core.io.ISVNDeltaConsumertextDeltaChunk in class org.tmatesoft.svn.core.internal.server.dav.handlers.DAVUpdateHandlerorg.tmatesoft.svn.core.SVNExceptionpublic void textDeltaEnd(String path) throws org.tmatesoft.svn.core.SVNException
textDeltaEnd in interface org.tmatesoft.svn.core.io.ISVNDeltaConsumertextDeltaEnd in class org.tmatesoft.svn.core.internal.server.dav.handlers.DAVUpdateHandlerorg.tmatesoft.svn.core.SVNExceptionCopyright © 2015. All rights reserved.