code: public boolean usesSecureSite(HttpServletRequest req) {
  
          CmsSite site = matchRequest(req);
          if (site == null) {
              return false;
          }
          CmsSiteMatcher secureMatcher = site.getSecureServerMatcher();
          boolean result = false;
          if (secureMatcher != null) {
              result = secureMatcher.equals(getRequestMatcher(req));
          }
          return result;
      }
docs: Returns true if this request goes to a secure site.<p>
  
  @param req the request to check
  
  @return true if the request goes to a secure site