Interface DavServletRequest

All Superinterfaces:
jakarta.servlet.http.HttpServletRequest, jakarta.servlet.ServletRequest
All Known Subinterfaces:
org.apache.jackrabbit.webdav.version.DeltaVServletRequest, org.apache.jackrabbit.webdav.observation.ObservationDavServletRequest, org.apache.jackrabbit.webdav.ordering.OrderingDavServletRequest, org.apache.jackrabbit.webdav.transaction.TransactionDavServletRequest, WebdavRequest
All Known Implementing Classes:
WebdavRequestImpl

public interface DavServletRequest extends jakarta.servlet.http.HttpServletRequest
DavServletRequest extends the HttpServletRequest by Webdav specific METHODS.
  • Field Summary

    Fields inherited from interface jakarta.servlet.http.HttpServletRequest

    BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the DavSession created for this request.
    int
    Return the integer representation of the given Depth header.
    int
    getDepth(int defaultValue)
    Returns the integer representation of the Depth header or the given defaultValue, if the Depth header is missing.
    Parse the Destination header and return the locator of the corresponding resource.
    org.apache.jackrabbit.webdav.lock.LockInfo
    Return the parsed 'lockinfo' request body, the Timeout header and the Depth header of a LOCK request as LockInfo object.
    Returns the token present in the Lock-Token Header or null if no such header is available.
    Note: The 'Lock-Token' header is sent with UNLOCK requests and with lock responses only.
    Return the set of properties the client requested with a PROPFIND request or an empty set if the type of PROPFIND request was DavConstants.PROPFIND_ALL_PROP or DavConstants.PROPFIND_PROPERTY_NAMES.
    int
    Return the type of PROPFIND request as indicated by the PROPFIND request body.
    List<? extends PropEntry>
    Return a List of property change operations.
    Parse the Xml request body and return a Document.
    Return the locator of the requested resource.
    long
    Return the timeout requested in the Timeout header as long.
    boolean
    Returns true if the Overwrite header is set to 'T' thus instructing the server to overwrite the state of a non-null destination resource during a COPY or MOVE.
    boolean
    matchesIfHeader(String href, String token, String eTag)
    Returns true, if the If header present with the request matches to the given href, token and eTag.
    boolean
    Returns true, if the If header present with the request matches the given resource.
    void
    Sets the DavSession to this request.

    Methods inherited from interface jakarta.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, isRequestedSessionIdValid, isTrailerFieldsReady, isUserInRole, login, logout, newPushBuilder, upgrade

    Methods inherited from interface jakarta.servlet.ServletRequest

    getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getProtocolRequestId, getReader, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getRequestId, getScheme, getServerName, getServerPort, getServletConnection, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding, setCharacterEncoding, startAsync, startAsync