public HstRequestImpl(HttpServletRequest servletRequest, HstRequestContext requestContext, HstComponentWindow componentWindow, String lifecyclePhase) { super(servletRequest); this.lifecyclePhase = lifecyclePhase; this.requestContext = requestContext; // only for lifecyclePhase RENDER_PHASE we support parameter namespacing ignored this.referenceNamespaceIgnored = this.requestContext.getURLFactory().isReferenceNamespaceIgnored() && RENDER_PHASE.equals(lifecyclePhase); this.componentWindow = componentWindow; this.parameterNameComponentSeparator = requestContext.getContainerURLProvider().getParameterNameComponentSeparator(); }
public HstRequestImpl(HttpServletRequest servletRequest, HstRequestContext requestContext, HstComponentWindow componentWindow, String lifecyclePhase) { super(servletRequest); this.lifecyclePhase = lifecyclePhase; this.requestContext = requestContext; this.referenceNamespaceIgnored = this.requestContext.getURLFactory().isReferenceNamespaceIgnored(); this.componentWindow = componentWindow; this.parameterNameComponentSeparator = requestContext.getContainerURLProvider().getParameterNameComponentSeparator(); }
public HstURL createNavigationalURL(String pathInfo) { HstContainerURL navURL = this.requestContext.getContainerURLProvider().createURL(requestContext.getBaseURL(), pathInfo); return this.requestContext.getURLFactory().createURL(HstURL.RENDER_TYPE, null, navURL, this.requestContext); }
public HstURL createNavigationalURL(String pathInfo) { HstContainerURL navURL = requestContext.getContainerURLProvider().createURL(requestContext.getBaseURL(), pathInfo); return requestContext.getURLFactory().createURL(HstURL.RENDER_TYPE, null, navURL, requestContext); }
public HstURL createNavigationalURL(String pathInfo) { HstContainerURL navURL = this.requestContext.getContainerURLProvider().createURL(requestContext.getBaseURL(), pathInfo); return this.requestContext.getURLFactory().createURL(HstURL.RENDER_TYPE, null, navURL, this.requestContext); }
localContainerURL = requestContext.getContainerURLProvider().parseURL(curResolvedMount, curContextPath, requestPathFromURL, queryParams, curBaseURL.getCharacterEncoding(), curBaseURL.getURIEncoding()); } catch (MatchException e) {
HstContainerURL navURL = requestContext.getContainerURLProvider().createURL(adjustedBaseURL, hstLink.getPath()); HstURL hstUrl = requestContext.getURLFactory().createURL(HstURL.RENDER_TYPE, null, navURL, requestContext); return hstUrl.toString();
HstContainerURL navURL = requestContext.getContainerURLProvider().createURL(mount, requestContext.getBaseURL(), path); urlString = requestContext.getURLFactory().createURL(HstURL.RENDER_TYPE, null, navURL, requestContext, explicitContextPath).toString(); if (StringUtils.isEmpty(path) && StringUtils.isEmpty(urlString)) {