Interface DeltaVServletRequest
-
- All Superinterfaces:
DavServletRequest,javax.servlet.http.HttpServletRequest,javax.servlet.ServletRequest
- All Known Subinterfaces:
WebdavRequest
- All Known Implementing Classes:
WebdavRequestImpl
public interface DeltaVServletRequest extends DavServletRequest
DeltaVServletRequestprovides extension useful for functionality related to RFC 3253.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetLabel()Returns the Label header ornullLabelInfogetLabelInfo()Return the request body asLabelInfoobject ornullif parsing the request body or the creation of the label info failed.MergeInfogetMergeInfo()Return the request body asMergeInfoobject ornullif the creation failed due to invalid format.OptionsInfogetOptionsInfo()Returns theOptionsInfopresent with the request ornull.ReportInfogetReportInfo()Returns the request body and the Depth header asReportInfoobject.UpdateInfogetUpdateInfo()Parses the UPDATE request body a build the correspondingUpdateInfoobject.-
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, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole, login, logout, 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
-
getLabel
String getLabel()
Returns the Label header ornull- Returns:
- label header or
null - See Also:
DeltaVConstants.HEADER_LABEL
-
getLabelInfo
LabelInfo getLabelInfo() throws DavException
Return the request body asLabelInfoobject ornullif parsing the request body or the creation of the label info failed.- Returns:
LabelInfoobject ornull- Throws:
DavException- in case of an invalid request body
-
getMergeInfo
MergeInfo getMergeInfo() throws DavException
Return the request body asMergeInfoobject ornullif the creation failed due to invalid format.- Returns:
MergeInfoobject ornull- Throws:
DavException- in case of an invalid request body
-
getUpdateInfo
UpdateInfo getUpdateInfo() throws DavException
Parses the UPDATE request body a build the correspondingUpdateInfoobject. If the request body is missing or does not of the required formatnullis returned.- Returns:
- the parsed update request body or
null - Throws:
DavException- in case of an invalid request body
-
getReportInfo
ReportInfo getReportInfo() throws DavException
Returns the request body and the Depth header asReportInfoobject. The default depth, if noDepth header, isDavConstants.DEPTH_0. If the request body could not be parsed into anElementnullis returned.- Returns:
ReportInfoornull- Throws:
DavException- in case of an invalid request body
-
getOptionsInfo
OptionsInfo getOptionsInfo() throws DavException
Returns theOptionsInfopresent with the request ornull.- Returns:
OptionsInfoornull- Throws:
DavException- in case of an invalid request body
-
-