Interface RouterService
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
RouterServiceImpl
public interface RouterService extends java.io.Serializable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getLoginPage(java.lang.String site)
java.lang.String
getPage404(java.lang.String site)
SPARoute
routeAsSinglePageApplication(java.lang.String site, java.lang.String requestURI)
Finds a single page application route based on the site and request URI provided.
-
-
-
Method Detail
-
routeAsSinglePageApplication
SPARoute routeAsSinglePageApplication(java.lang.String site, java.lang.String requestURI)
Finds a single page application route based on the site and request URI provided.- Parameters:
site
- the ID of the site to search for route settingsrequestURI
- 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
java.lang.String getLoginPage(java.lang.String site)
-
getPage404
java.lang.String getPage404(java.lang.String site)
-
-