Package org.structr.web.entity

Examples of org.structr.web.entity.Site


    for (Linkable node : entryPoints) {

      if (node instanceof Page) { // && path.equals(node.getPath())) {

        final Page page = (Page) node;
        final Site site = page.getProperty(Page.site);

        if (site != null) {

          final String serverName = request.getServerName();
          final int    serverPort = request.getServerPort();

          if (StringUtils.isNotBlank(serverName) && !serverName.equals(site.getProperty(Site.hostname))) {
            continue;
          }

          Integer sitePort = site.getProperty(Site.port);
          if (sitePort == null) {
            sitePort = 80;
          }

          if (serverPort != sitePort) {
View Full Code Here

TOP

Related Classes of org.structr.web.entity.Site

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.