code: public String mappedViewPath() {
          String path = getCurrentPath();
          //受保护目录,不允许直接访问
          String pDir = Viewables.PROTECTED_DIR + "/";
          if (path.startsWith(pDir)
                  || path.startsWith("/" + pDir)) return null;
          for (TemplateProcessor templateProcessor : getTemplateProcessors()) {
              Object has = templateProcessor.resolve(path, MediaType.TEXT_HTML_TYPE);
              if (has == null) {
                  path = path + (path.endsWith("/") ? "" : "/") + "index";
                  has = templateProcessor.resolve(path, MediaType.TEXT_HTML_TYPE);
              }
              if (has != null) {
                  return path;
              }
          }
          return null;
      }
docs: <p>mappedViewPath.</p>
  
  @return a {@link java.lang.String} object.