String hTxIdStr = req.getHeader(WebdavConstants.H_TRANSACTION);
return (hTxIdStr != null);
}
private boolean isCollection(HttpServletRequest req) {
SlideToken slideToken = new SlideTokenWrapper(WebdavUtils.getSlideToken(req));
// necessary as no transaction has been started, yet
slideToken.setForceStoreEnlistment(false);
slideToken.setForceSecurity(false);
slideToken.setForceLock(false);
return WebdavUtils.isCollection(token, slideToken, WebdavUtils.getRelativePath(req, (WebdavServletConfig)getServletConfig()));
}