public interface BroadleafSiteResolver
Modifier and Type | Field and Description |
---|---|
static String |
SELECTED_SITE_URL_PARAM |
Modifier and Type | Method and Description |
---|---|
Site |
resolveSite(javax.servlet.http.HttpServletRequest request)
Deprecated.
Use
resolveSite(WebRequest) instead |
Site |
resolveSite(org.springframework.web.context.request.WebRequest request) |
Site |
resolveSite(org.springframework.web.context.request.WebRequest request,
boolean allowNullSite)
Resolves a site for the given WebRequest.
|
static final String SELECTED_SITE_URL_PARAM
@Deprecated Site resolveSite(javax.servlet.http.HttpServletRequest request) throws SiteNotFoundException
resolveSite(WebRequest)
insteadSiteNotFoundException
Site resolveSite(org.springframework.web.context.request.WebRequest request) throws SiteNotFoundException
SiteNotFoundException
resolveSite(WebRequest, boolean)
Site resolveSite(org.springframework.web.context.request.WebRequest request, boolean allowNullSite) throws SiteNotFoundException
SiteNotFoundException
when a site could not be resolved unless the allowNullSite parameter is set to true.request
- allowNullSite
- Site
SiteNotFoundException
Copyright © 2022. All rights reserved.