Interface ObservationDavServletRequest
-
- All Superinterfaces:
DavServletRequest,HttpServletRequest,ServletRequest
- All Known Subinterfaces:
WebdavRequest
- All Known Implementing Classes:
WebdavRequestImpl
public interface ObservationDavServletRequest extends DavServletRequest
ObservationDavServletRequestprovides extensions to theDavServletRequestinterface used for dealing with observation.
-
-
Field Summary
-
Fields inherited from interface javax.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetPollTimeout()Returns thePollTimeout headeror 0 (zero) if no such header is present.java.lang.StringgetSubscriptionId()Return theSubscriptionId headerornullif no such header is present.SubscriptionInfogetSubscriptionInfo()Return aSubscriptionInfoobject representing the subscription info present in the SUBSCRIBE request body ornullif retrieving the subscription info fails.-
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
-
getSubscriptionId
java.lang.String getSubscriptionId()
Return theSubscriptionId headerornullif no such header is present.- Returns:
- the
SubscriptionId header
-
getPollTimeout
long getPollTimeout()
Returns thePollTimeout headeror 0 (zero) if no such header is present.- Returns:
- milliseconds indicating length of the poll timeout.
-
getSubscriptionInfo
SubscriptionInfo getSubscriptionInfo() throws DavException
Return aSubscriptionInfoobject representing the subscription info present in the SUBSCRIBE request body ornullif retrieving the subscription info fails.- Returns:
- subscription info object encapsulating the SUBSCRIBE request body
or
nullif the subscription info cannot be built. - Throws:
DavException- if an invalid request body was encountered.
-
-