Codota Logo
ResolvedSiteMapItem.getHstComponentConfiguration
Code IndexAdd Codota to your IDE (free)

How to use
getHstComponentConfiguration
method
in
org.hippoecm.hst.core.request.ResolvedSiteMapItem

Best Java code snippets using org.hippoecm.hst.core.request.ResolvedSiteMapItem.getHstComponentConfiguration (Showing top 4 results out of 315)

  • Common ways to obtain ResolvedSiteMapItem
private void myMethod () {
ResolvedSiteMapItem r =
  • Codota IconHstRequestContext hstRequestContext;hstRequestContext.getResolvedSiteMapItem()
  • Codota IconHstMutableRequestContext hstMutableRequestContext;hstMutableRequestContext.getResolvedSiteMapItem()
  • Smart code suggestions by Codota
}
origin: org.onehippo.cms7.hst.components/hst-core

if (resolvedSitemapItem.getHstComponentConfiguration() == null) {
  log.debug("Matched sitemap item '{}' does not have a (resolvable) component configuration (for example because " +
      "the request might be a rest request). Return if the sitemap item is cacheable.", hstSiteMapItem.getId());
  if (!resolvedSitemapItem.getHstComponentConfiguration().isCompositeCacheable()) {
    log.debug("'{}' is not cacheable because hst component '{}' is not cacheable.", context
        .getServletRequest(), resolvedSitemapItem.getHstComponentConfiguration()
        .getId());
    return false;
} else if (!resolvedSitemapItem.getHstComponentConfiguration().isCompositeCacheable()) {
  log.debug("'{}' is not cacheable because hst component '{}' is not cacheable.", context
      .getServletRequest(), resolvedSitemapItem.getHstComponentConfiguration().getId());
  return false;
origin: org.onehippo.ecm.hst.components/hst-core

HstComponentConfiguration rootComponentConfig = resolvedSiteMapItem.getHstComponentConfiguration();
    if (hcc != resolvedSiteMapItem.getHstComponentConfiguration()) {
      do {
        contextNamespaceBuilder.insert(0, hcc.getReferenceName());
        hcc = hcc.getParent();
        if (hcc == resolvedSiteMapItem.getHstComponentConfiguration()) {
          break;
origin: org.onehippo.ecm.hst/hst-commons

  protected String resolveEmbeddedDispatchURL(PortletRequest request, PortletResponse response) {
    HstPortalContextProvider pcp = getPortalContextProvider(request);
    HstPortalRequestContext prc = pcp != null ? pcp.getPortalRequestContext(request) : null;
    ResolvedSiteMapItem rsmi = prc != null ? prc.getResolvedSiteMapItem() : null;
    HstComponentConfiguration hcc = rsmi != null ? rsmi.getHstComponentConfiguration() : null;
    if (hcc != null) {
      HstMutablePortletRequestContext hrc = createHstRequestContext(request, response);            
      hrc.setTargetComponentPath(request.getPreferences().getValue(HST_COMPONENT_PATH, defaultHstComponentPath));
      hrc.setEmbeddingContextPath(prc.getEmbeddingContextPath());
      hrc.setResolvedEmbeddingSiteMount(prc.getResolvedEmbeddingSiteMount());
      hrc.setResolvedSiteMount(rsmi.getResolvedSiteMount());
      hrc.setResolvedSiteMapItem(rsmi);
      return new StringBuilder(rsmi.getResolvedSiteMount().getResolvedMountPath()).append("/").append(rsmi.getPathInfo()).toString();
    }
    return null;
  }
}
origin: org.onehippo.cms7.hst.components/hst-core

HstComponentConfiguration rootComponentConfig = resolvedSiteMapItem.getHstComponentConfiguration();
org.hippoecm.hst.core.requestResolvedSiteMapItemgetHstComponentConfiguration

Popular methods of ResolvedSiteMapItem

  • getHstSiteMapItem
  • getRelativeContentPath
    This method returns a content path, relative to the org.hippoecm.hst.configuration.site.HstSite#getC
  • getPathInfo
    Returns a relative path from hst request path to the SiteMapItem that was matched. This path never s
  • getResolvedSiteMount
  • getErrorCode
  • getNamedPipeline
    Returns the namedPipeline to be used for the Hst Request Processing. When the backing HstSiteMapItem
  • getParameters
    Return the parameter map from the HstSiteMapItem configuration, but all values containing property p
  • getResolvedMount
  • getRoles
  • getPageTitle
  • getParameter
    Returns a property from the HstSiteMapItem configuration but should have replaced possible property
  • getPortletHstComponentConfiguration
  • getParameter,
  • getPortletHstComponentConfiguration,
  • getStatusCode,
  • getUsers,
  • isAuthenticated,
  • isSecured

Popular in Java

  • Start an intent from android
  • scheduleAtFixedRate (Timer)
  • setContentView (Activity)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • SortedSet (java.util)
    A Set that further provides a total ordering on its elements. The elements are ordered using their C
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now