code: protected boolean isSecureLink(CmsObject cms, String vfsName, CmsSite targetSite, boolean secureRequest) {
  
          return OpenCms.getStaticExportManager().isSecureLink(cms, vfsName, targetSite.getSiteRoot(), secureRequest);
      }
docs: Checks if the link target is a secure link.<p
  
  @param cms the current CMS context
  @param vfsName the path of the link target
  @param targetSite the target site containing the detail page
  @param secureRequest true if the currently running request is secure
  
  @return true if the link should be a secure link