docs: public String getCookiePath(boolean resolveMacros) {
  
          String result = m_cookiePath;
          if (resolveMacros) {
              CmsMacroResolver resolver = new CmsMacroResolver();
              // add special mappings for macros
              resolver.addMacro("CONTEXT_NAME", OpenCms.getSystemInfo().getContextPath());
              resolver.addMacro("SERVLET_NAME", OpenCms.getSystemInfo().getServletPath());
              result = resolver.resolveMacros(result);
          }
          return result;
      }