Interface TransactionDavServletRequest
-
- All Superinterfaces:
DavServletRequest,javax.servlet.http.HttpServletRequest,javax.servlet.ServletRequest
- All Known Subinterfaces:
WebdavRequest
- All Known Implementing Classes:
WebdavRequestImpl
public interface TransactionDavServletRequest extends DavServletRequest
TransactionDavServletRequestprovides extensions to theDavServletRequestinterface used for dealing with transaction lock requests.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetTransactionId()Retrieve the transaction id from theTransactionId header.TransactionInfogetTransactionInfo()Retrieve the 'transactioninfo' request body that must be included with the UNLOCK request of a transaction lock.-
Methods inherited from interface org.apache.jackrabbit.webdav.DavServletRequest
getDavSession, getDepth, getDepth, getDestinationLocator, getLockInfo, getLockToken, getPropFindProperties, getPropFindType, getPropPatchChangeList, getRequestDocument, getRequestLocator, getTimeout, isOverwrite, matchesIfHeader, matchesIfHeader, setDavSession
-
Methods inherited from interface javax.servlet.http.HttpServletRequest
authenticate, changeSessionId, getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getHttpServletMapping, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getTrailerFields, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isTrailerFieldsReady, isUserInRole, login, logout, newPushBuilder, upgrade
-
Methods inherited from interface javax.servlet.ServletRequest
getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding, startAsync, startAsync
-
-
-
-
Method Detail
-
getTransactionInfo
TransactionInfo getTransactionInfo() throws DavException
Retrieve the 'transactioninfo' request body that must be included with the UNLOCK request of a transaction lock. If the request body is does not provide the information required (either because it is missing or the Xml is not valid)nullis returned.- Returns:
TransactionInfoobject encapsulating the 'transactioninfo' Xml element present in the request body ornullif no body is present or if it could not be parsed.- Throws:
DavException- if an invalid request body is present.
-
getTransactionId
java.lang.String getTransactionId()
Retrieve the transaction id from theTransactionId header.- Returns:
- transaction id as present in the
TransactionId headerornull.
-
-