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
DeltaVServletRequest
provides extension useful for functionality related to RFC 3253.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getLabel()
Returns the Label header ornull
LabelInfo
getLabelInfo()
Return the request body asLabelInfo
object ornull
if parsing the request body or the creation of the label info failed.MergeInfo
getMergeInfo()
Return the request body asMergeInfo
object ornull
if the creation failed due to invalid format.OptionsInfo
getOptionsInfo()
Returns theOptionsInfo
present with the request ornull
.ReportInfo
getReportInfo()
Returns the request body and the Depth header asReportInfo
object.UpdateInfo
getUpdateInfo()
Parses the UPDATE request body a build the correspondingUpdateInfo
object.-
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 asLabelInfo
object ornull
if parsing the request body or the creation of the label info failed.- Returns:
LabelInfo
object ornull
- Throws:
DavException
- in case of an invalid request body
-
getMergeInfo
MergeInfo getMergeInfo() throws DavException
Return the request body asMergeInfo
object ornull
if the creation failed due to invalid format.- Returns:
MergeInfo
object ornull
- Throws:
DavException
- in case of an invalid request body
-
getUpdateInfo
UpdateInfo getUpdateInfo() throws DavException
Parses the UPDATE request body a build the correspondingUpdateInfo
object. If the request body is missing or does not of the required formatnull
is 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 asReportInfo
object. The default depth, if noDepth header
, isDavConstants.DEPTH_0
. If the request body could not be parsed into anElement
null
is returned.- Returns:
ReportInfo
ornull
- Throws:
DavException
- in case of an invalid request body
-
getOptionsInfo
OptionsInfo getOptionsInfo() throws DavException
Returns theOptionsInfo
present with the request ornull
.- Returns:
OptionsInfo
ornull
- Throws:
DavException
- in case of an invalid request body
-
-