public interface ObservationDavServletRequest extends DavServletRequest
ObservationDavServletRequest
provides extensions to the
DavServletRequest
interface used for dealing with observation.Modifier and Type | Method and Description |
---|---|
long |
getPollTimeout()
Returns the
PollTimeout header
or 0 (zero) if no such header is present. |
String |
getSubscriptionId()
Return the
SubscriptionId header
or null if no such header is present. |
SubscriptionInfo |
getSubscriptionInfo()
Return a
SubscriptionInfo object representing the subscription
info present in the SUBSCRIBE request body or null if
retrieving the subscription info fails. |
getDavSession, getDepth, getDepth, getDestinationLocator, getLockInfo, getLockToken, getPropFindProperties, getPropFindType, getPropPatchChangeList, getRequestDocument, getRequestLocator, getTimeout, isOverwrite, matchesIfHeader, matchesIfHeader, setDavSession
authenticate, 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
getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, 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
String getSubscriptionId()
SubscriptionId header
or null
if no such header is present.SubscriptionId header
long getPollTimeout()
PollTimeout header
or 0 (zero) if no such header is present.SubscriptionInfo getSubscriptionInfo() throws DavException
SubscriptionInfo
object representing the subscription
info present in the SUBSCRIBE request body or null
if
retrieving the subscription info fails.null
if the subscription info cannot be built.DavException
- if an invalid request body was encountered.Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.