Uses of Interface
org.hippoecm.hst.core.request.HstRequestContext
Package
Description
The org.hippoecm.hst.container package defines the API for the HST Container
The org.hippoecm.hst.content.rewriter package defines the API for the HST Content Rewriters
The org.hippoecm.hst.core.component package defines the API for the HST Core Component
The org.hippoecm.hst.core.container package defines the API for the HST Core Container
The org.hippoecm.hst.core.internal package defines INTERNAL USAGE ONLY API for the HST Container
The org.hippoecm.hst.core.jcr package defines the API for the HST Core JCR
The org.hippoecm.hst.core.linking package defines the API for the HST Core Linking
The org.hippoecm.hst.core.request package defines the API for the HST Core Request
The org.hippoecm.hst.core.sitemenu package defines the API for the HST Core SiteMenu
-
Uses of HstRequestContext in org.hippoecm.hst.container
Modifier and TypeMethodDescriptionstatic HstRequestContext
RequestContextProvider.get()
Returns theHstRequestContext
for the current threads active request.Modifier and TypeMethodDescriptionvoid
RequestContextProvider.ModifiableRequestContextProvider.set
(HstRequestContext requestContext) -
Uses of HstRequestContext in org.hippoecm.hst.container.site
Modifier and TypeMethodDescriptionHstSiteProvider.getHstSite
(HstSite master, Map<String, HstSite> branches, HstRequestContext requestContext) AnHstSiteProvider
can choose based on some heuristic to return a specificHstSite
branch or to return the master. -
Uses of HstRequestContext in org.hippoecm.hst.content.rewriter
Modifier and TypeMethodDescriptionContentRewriter.rewrite
(T content, Node contentNode, HstRequestContext requestContext) ContentRewriter.rewrite
(T content, Node contentNode, HstRequestContext requestContext, String targetMountAlias) Rewrites the content of the content node.ContentRewriter.rewrite
(T content, Node contentNode, HstRequestContext requestContext, Mount targetMount) Rewrites the content of the content node.ContentRewriter.rewrite
(T content, HstRequestContext requestContext) Rewrites thecontent
withHstRequestContext
. -
Uses of HstRequestContext in org.hippoecm.hst.core.channelmanager
Modifier and TypeMethodDescriptionComponentLockedReasonContributor.findReason
(HstRequestContext requestContext, HstComponentConfiguration compConfig, Workflow workflow, Map<String, Serializable> hints, String branchId) -
Uses of HstRequestContext in org.hippoecm.hst.core.component
Modifier and TypeMethodDescriptionHstRequest.getRequestContext()
Returns the current request contextModifier and TypeMethodDescriptionHstURLFactory.createURL
(String type, String referenceNamespace, HstContainerURL base, HstRequestContext requestContext) Returns HstURL for the HstURL type with reference namespace based on the base container URLHstURLFactory.createURL
(String type, String referenceNamespace, HstContainerURL base, HstRequestContext requestContext, String contextPath) Returns HstURL for the HstURL type with reference namespace based on the base container URL and an explicitcontextPath
, for example needed when theMount
to create a link for has a different contextpath than theResolvedMount
belonging to theHstRequestContext
-
Uses of HstRequestContext in org.hippoecm.hst.core.container
Modifier and TypeMethodDescriptionValveContext.getRequestContext()
Returns the current request context.Modifier and TypeMethodDescriptionvoid
Pipeline.cleanup
(HstContainerConfig requestContainerConfig, HstRequestContext requestContext, jakarta.servlet.http.HttpServletRequest servletRequest, jakarta.servlet.http.HttpServletResponse servletResponse) Does post-processing step for the request processing.HstComponentWindowFactory.create
(HstContainerConfig requestContainerConfig, HstRequestContext requestContext, HstComponentConfiguration compConfig, HstComponentFactory compFactory) Creates aHstComponentWindow
instance.HstComponentWindowFactory.create
(HstContainerConfig requestContainerConfig, HstRequestContext requestContext, HstComponentConfiguration compConfig, HstComponentFactory compFactory, HstComponentWindow parentWindow) Creates aHstComponentWindow
instance as a child window of the parentWindow.RequestInfoCacheKeyFragmentCreator.create
(HstRequestContext requestContext) Creates a serializable request info object that represents the parts of the request that makes the request unique (and thus ensures unique requests have unique cachekeys)HstComponentWindowFilter.doFilter
(HstRequestContext requestContext, HstComponentConfiguration compConfig, HstComponentWindow window) static ComponentProcessingContext
ComponentProcessingContext.get
(HstRequestContext requestContext) Get an instance from an HstRequestContextvoid
Pipeline.invoke
(HstContainerConfig requestContainerConfig, HstRequestContext requestContext, jakarta.servlet.http.HttpServletRequest servletRequest, jakarta.servlet.http.HttpServletResponse servletResponse) Invokes the request processing, aka the initialization and rendering valvesHstContainerURLProvider.parseURL
(HstRequestContext requestContext, ResolvedMount mount, String requestPath, Map<String, String[]> queryParams) Parses a specified requestPath with the currentHstRequestContext
for a newResolvedMount
and requestPath and creates anHstContainerURL
instance.void
HstRequestProcessor.processRequest
(HstContainerConfig requestContainerConfig, HstRequestContext requestContext, jakarta.servlet.http.HttpServletRequest servletRequest, jakarta.servlet.http.HttpServletResponse servletResponse, String namedPipeline) processes requeststatic void
ComponentProcessingContext.set
(HstRequestContext requestContext) Set a new instance to an HstRequestContextHstContainerURLProvider.toURLString
(HstContainerURL containerURL, HstRequestContext requestContext) Stringifying the containerURL as a full URL string.HstContainerURLProvider.toURLString
(HstContainerURL containerURL, HstRequestContext requestContext, String contextPath) Stringifying the containerURL as a full URL string.HstContainerURLProvider.toURLString
(HstContainerURL containerURL, HstRequestContext requestContext, String contextPath, boolean containerResource) Stringifying the containerURL as a full URL string. -
Uses of HstRequestContext in org.hippoecm.hst.core.internal
Modifier and TypeInterfaceDescriptioninterface
This is an INTERNAL USAGE ONLY API.Modifier and TypeMethodDescriptionvoid
HstRequestContextComponent.release
(HstRequestContext context) Release a request context back to the context pool. -
Uses of HstRequestContext in org.hippoecm.hst.core.jcr
Modifier and TypeMethodDescriptionvoid
SessionSecurityDelegation.cleanupSessionDelegates
(HstRequestContext requestContext) cleans up any sessions that are not yet logged out and were created either throughSessionSecurityDelegation.getOrCreateLiveSecurityDelegate(javax.jcr.Credentials, String)
, or throughSessionSecurityDelegation.getOrCreatePreviewSecurityDelegate(javax.jcr.Credentials, String)
or through one of the create methods withautoLogout
set totrue
-
Uses of HstRequestContext in org.hippoecm.hst.core.linking
Modifier and TypeMethodDescriptionHstLinkCreator.create
(String uuid, Session session, HstRequestContext requestContext) Rewrite a jcr uuid to a HstLink wrt its current ResolvedSiteMapItem.HstLinkCreator.create
(Node node, HstRequestContext requestContext) Rewrite a jcr Node to a HstLink wrt its current ResolvedSiteMapItemHstLinkCreator.create
(Node node, HstRequestContext requestContext, String mountAlias) HstLinkCreator.create
(Node node, HstRequestContext requestContext, String mountAlias, String type) HstLinkCreator.create
(Node node, HstRequestContext requestContext, HstSiteMapItem preferredItem, boolean fallback) Rewrite a jcr Node to a HstLink wrt its current HstRequestContext and preferredItem.HstLinkCreator.create
(Node node, HstRequestContext requestContext, HstSiteMapItem preferredItem, boolean fallback, boolean navigationStateful) This method creates the sameHstLink
asHstLinkCreator.create(Node, HstRequestContext, HstSiteMapItem, boolean)
whennavigationStateful = false
.HstLinkCreator.create
(HippoBean bean, HstRequestContext requestContext) HstLinkCreator.createAll
(Node node, HstRequestContext requestContext, boolean crossMount) Rewrite a jcr Node to a List ofHstLink
sHstLinkCreator.createAll
(Node node, HstRequestContext requestContext, String hostGroupName, String type, boolean crossMount) Rewrite a jcr Node to a List ofHstLink
sHstLinkCreator.createAllAvailableCanonicals
(Node node, HstRequestContext requestContext) Expert: Creates aList
of all available canonical links fornode
within the hostgroup (VirtualHost.getHostGroupName()
) of theMount
for theHstRequestContext
.HstLinkCreator.createAllAvailableCanonicals
(Node node, HstRequestContext requestContext, String type) Expert: Creates aList
of all available canonical links fornode
, within the hostgroup (VirtualHost.getHostGroupName()
) of theMount
for theHstRequestContext
and where where the backingMount
of theHstLink
has at least oneMount.getTypes()
equal totype
HstLinkCreator.createAllAvailableCanonicals
(Node node, HstRequestContext requestContext, String type, String hostGroupName) Expert: Creates aList
of all available canonical links fornode
, within the hostgrouphostGroupName
and where where the backingMount
of theHstLink
has at least oneMount.getTypes()
equal totype
HstLinkCreator.createCanonical
(Node node, HstRequestContext requestContext) This creates a canonical HstLink: regardless the current requestContext, one and the same jcr Node is guaranteed to return the same HstLink.HstLinkCreator.createCanonical
(Node node, HstRequestContext requestContext, HstSiteMapItem preferredItem) RewriteContextResolver.resolve
(Node node, Mount mount, HstRequestContext context, boolean canonical, boolean navigationStateful) In general, the returnedRewriteContext.getPath()
with which the link creation is tried is justItem.getPath()
and the returnedRewriteContext.getMount()
just the mount for the currentHstRequestContext
, however, if required differently by an end project, it can be done by implementing a customRewriteContextResolver
and set this onHstLinkCreator
implementationHstLink.toUrlForm
(HstRequestContext requestContext, boolean fullyQualified) -
Uses of HstRequestContext in org.hippoecm.hst.core.pagemodel.container
Modifier and TypeMethodDescriptiondefault void
MetadataDecorator.decorateAggregatedPageModelMetadata
(HstRequestContext requestContext, MetadataContributable metadataModel) Decorate the given page model'smetadataModel
.void
MetadataDecorator.decorateCommonMenuMetadata
(HstRequestContext requestContext, CommonMenu menu, MetadataContributable metadataModel) Decorate the givencommonMenu
'smetadataModel
.void
MetadataDecorator.decorateContentMetadata
(HstRequestContext requestContext, HippoBean contentBean, MetadataContributable metadataModel) Decorate the given content bean'smetadataModel
. -
Uses of HstRequestContext in org.hippoecm.hst.core.request
Modifier and TypeMethodDescriptionContextCredentialsProvider.getDefaultCredentials
(HstRequestContext requestContext) Returns the default credentials for this request context if available.ContextCredentialsProvider.getWritableCredentials
(HstRequestContext requestContext) Returns the writable credentials for this request context if available. -
Uses of HstRequestContext in org.hippoecm.hst.jaxrs
Modifier and TypeMethodDescriptionvoid
JAXRSService.invoke
(HstRequestContext requestContext, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) -
Uses of HstRequestContext in org.hippoecm.hst.pagecomposer.jaxrs.api
Modifier and TypeMethodDescriptionBeforeChannelDeleteEvent.getRequestContext()
ChannelEvent.getRequestContext()
PageActionContext.getRequestContext()