/** * @see org.apache.jackrabbit.webdav.observation.ObservationDavServletRequest#getSubscriptionInfo() */ public SubscriptionInfo getSubscriptionInfo() throws DavException { Document requestDocument = getRequestDocument(); if (requestDocument != null) { Element root = requestDocument.getDocumentElement(); if (ObservationConstants.XML_SUBSCRIPTIONINFO.equals(root.getLocalName())) { int depth = getDepth(DEPTH_0); return new SubscriptionInfo(root, getTimeout(), depth == DEPTH_INFINITY); } } return null; }
/** * @see org.apache.jackrabbit.webdav.observation.ObservationDavServletRequest#getSubscriptionInfo() */ public SubscriptionInfo getSubscriptionInfo() throws DavException { Document requestDocument = getRequestDocument(); if (requestDocument != null) { Element root = requestDocument.getDocumentElement(); if (ObservationConstants.XML_SUBSCRIPTIONINFO.equals(root.getLocalName())) { int depth = getDepth(DEPTH_0); return new SubscriptionInfo(root, getTimeout(), depth == DEPTH_INFINITY); } } return null; }
/** * @see org.apache.jackrabbit.webdav.observation.ObservationDavServletRequest#getSubscriptionInfo() */ public SubscriptionInfo getSubscriptionInfo() throws DavException { Document requestDocument = getRequestDocument(); if (requestDocument != null) { Element root = requestDocument.getDocumentElement(); if (ObservationConstants.XML_SUBSCRIPTIONINFO.equals(root.getLocalName())) { int depth = getDepth(DEPTH_0); return new SubscriptionInfo(root, getTimeout(), depth == DEPTH_INFINITY); } } return null; }