Class RouterServiceImpl

    • Field Detail

      • mapper

        private final com.fasterxml.jackson.databind.ObjectMapper mapper
    • Constructor Detail

      • RouterServiceImpl

        public RouterServiceImpl()
    • Method Detail

      • routeAsSinglePageApplication

        public SPARoute routeAsSinglePageApplication​(java.lang.String site,
                                                     java.lang.String requestURI)
        Description copied from interface: RouterService
        Finds a single page application route based on the site and request URI provided.
        Specified by:
        routeAsSinglePageApplication in interface RouterService
        Parameters:
        site - the ID of the site to search for route settings
        requestURI - the URI of the request to match against the route patterns
        Returns:
        the SPARoute object corresponding to the matched route, or null if no match is found
      • getLoginPage

        public java.lang.String getLoginPage​(java.lang.String site)
        Specified by:
        getLoginPage in interface RouterService
      • getPage404

        public java.lang.String getPage404​(java.lang.String site)
        Specified by:
        getPage404 in interface RouterService