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
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
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
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–2021 The Apache Software Foundation. All rights reserved.