|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
DeltaVServletRequest
provides extension useful for functionality
related to RFC 3253.
Field Summary |
Fields inherited from interface javax.servlet.http.HttpServletRequest |
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH |
Method Summary | |
String |
getLabel()
Returns the Label header or null |
LabelInfo |
getLabelInfo()
Return the request body as LabelInfo object or null
if parsing the request body or the creation of the label info failed. |
MergeInfo |
getMergeInfo()
Return the request body as MergeInfo object or null
if the creation failed due to invalid format. |
OptionsInfo |
getOptionsInfo()
Returns the OptionsInfo present with the request or null . |
ReportInfo |
getReportInfo()
Returns the request body and the Depth header as ReportInfo
object. |
UpdateInfo |
getUpdateInfo()
Parses the UPDATE request body a build the corresponding UpdateInfo
object. |
Methods inherited from interface org.apache.jackrabbit.webdav.DavServletRequest |
getDavSession, getDepth, getDepth, getDestinationLocator, getLockInfo, getLockToken, getPropFindProperties, getPropFindType, getPropPatchRemoveProperties, getPropPatchSetProperties, getRequestDocument, getRequestLocator, getTimeout, isOverwrite, matchesIfHeader, matchesIfHeader, setDavSession |
Methods inherited from interface javax.servlet.http.HttpServletRequest |
getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole |
Methods inherited from interface javax.servlet.ServletRequest |
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocale, getLocales, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding |
Method Detail |
public String getLabel()
null
null
DeltaVConstants.HEADER_LABEL
public LabelInfo getLabelInfo() throws DavException
LabelInfo
object or null
if parsing the request body or the creation of the label info failed.
LabelInfo
object or null
DavException
- in case of an invalid request bodypublic MergeInfo getMergeInfo() throws DavException
MergeInfo
object or null
if the creation failed due to invalid format.
MergeInfo
object or null
DavException
- in case of an invalid request bodypublic UpdateInfo getUpdateInfo() throws DavException
UpdateInfo
object. If the request body is missing or does not of the required format
null
is returned.
null
DavException
- in case of an invalid request bodypublic ReportInfo getReportInfo() throws DavException
ReportInfo
object. The default depth, if no Depth header
, is DavConstants.DEPTH_0
.
If the requuest body could not be parsed into an Element
null
is returned.
ReportInfo
or null
DavException
- in case of an invalid request bodypublic OptionsInfo getOptionsInfo() throws DavException
OptionsInfo
present with the request or null
.
OptionsInfo
or null
DavException
- in case of an invalid request body
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |