Interface ObservationDavServletRequest

    • 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
      long getPollTimeout()
      Returns the PollTimeout header or 0 (zero) if no such header is present.
      java.lang.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.
      • Methods inherited from interface javax.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, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isTrailerFieldsReady, isUserInRole, login, logout, newPushBuilder, 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

      • getPollTimeout

        long getPollTimeout()
        Returns the PollTimeout header or 0 (zero) if no such header is present.
        Returns:
        milliseconds indicating length of the poll timeout.
      • getSubscriptionInfo

        SubscriptionInfo getSubscriptionInfo()
                                      throws DavException
        Return a SubscriptionInfo object representing the subscription info present in the SUBSCRIBE request body or null if retrieving the subscription info fails.
        Returns:
        subscription info object encapsulating the SUBSCRIBE request body or null if the subscription info cannot be built.
        Throws:
        DavException - if an invalid request body was encountered.