public interface SiteUrlFactory
Modifier and Type | Method and Description |
---|---|
String |
createSiteUrl(HttpServletRequest request)
Create a fully-qualified URL that can be used to redirect the user to this site.
|
boolean |
isRequestForSite(HttpServletRequest request)
Did the request originate from this site?
Used to determine what site the user is currently viewing.
|
boolean isRequestForSite(HttpServletRequest request)
SiteSwitcherHandlerInterceptor
uses this knowledge to implement its switching algorithm.String createSiteUrl(HttpServletRequest request)