Tabnine Logo
ResolvedSiteMapItem.getPathInfo
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: org.onehippo.cms7.hst.components/hst-core

  String pathInfo = (resolvedSiteMapItem == null ? "" : resolvedSiteMapItem.getPathInfo());
  destinationLink = requestContext.getHstLinkCreator().create(pathInfo, destLinkMount);
} catch (Exception linkEx) {
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.ecm.hst.components/hst-core

String currentPathInfo = resolvedSiteMapItem.getPathInfo();
String siteMenuItemToMapPath = PathUtils.normalizePath(hstSiteMenuItemConfiguration.getSiteMapItemPath());
origin: org.onehippo.cms7.hst.client-modules/hst-page-composer

if (resolvedSiteMapItem.getPathInfo().equals(resolvedMount.getMount().getPageNotFound())) {
origin: org.onehippo.cms7.hst/hst-client

path = reqContext.getResolvedSiteMapItem().getPathInfo();
origin: org.onehippo.cms7.hst.components/hst-core

String currentPathInfo = resolvedSiteMapItem.getPathInfo();
org.hippoecm.hst.core.requestResolvedSiteMapItemgetPathInfo

Javadoc

Returns a relative path from hst request path to the SiteMapItem that was matched. This path never starts with a "/"

Popular methods of ResolvedSiteMapItem

  • getHstSiteMapItem
  • getRelativeContentPath
    This method returns a content path, relative to the org.hippoecm.hst.configuration.site.HstSite#getC
  • getHstComponentConfiguration
  • 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

  • Creating JSON documents from java classes using gson
  • requestLocationUpdates (LocationManager)
  • findViewById (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now