* @param createAbsoluteURI defines if we must create a absolute URI. if false a absolute path will be created
*/
public WebdavRequestImpl(HttpServletRequest httpRequest, DavLocatorFactory factory, boolean createAbsoluteURI) {
this.httpRequest = httpRequest;
this.factory = factory;
this.ifHeader = new IfHeader(httpRequest);
String host = getHeader("Host");
String scheme = getScheme();
String uriPrefix = scheme + "://" + host + getContextPath();
this.hrefPrefix = createAbsoluteURI ? uriPrefix : getContextPath();