Uses of Interface
org.hippoecm.hst.core.request.HstRequestContext
-
Packages that use HstRequestContext Package Description org.hippoecm.hst.container The org.hippoecm.hst.container package defines the API for the HST Containerorg.hippoecm.hst.container.site org.hippoecm.hst.content.rewriter The org.hippoecm.hst.content.rewriter package defines the API for the HST Content Rewritersorg.hippoecm.hst.core.channelmanager org.hippoecm.hst.core.component The org.hippoecm.hst.core.component package defines the API for the HST Core Componentorg.hippoecm.hst.core.container The org.hippoecm.hst.core.container package defines the API for the HST Core Containerorg.hippoecm.hst.core.internal The org.hippoecm.hst.core.internal package defines INTERNAL USAGE ONLY API for the HST Containerorg.hippoecm.hst.core.jcr The org.hippoecm.hst.core.jcr package defines the API for the HST Core JCRorg.hippoecm.hst.core.linking The org.hippoecm.hst.core.linking package defines the API for the HST Core Linkingorg.hippoecm.hst.core.pagemodel.container org.hippoecm.hst.core.request The org.hippoecm.hst.core.request package defines the API for the HST Core Requestorg.hippoecm.hst.core.sitemenu The org.hippoecm.hst.core.sitemenu package defines the API for the HST Core SiteMenuorg.hippoecm.hst.jaxrs org.hippoecm.hst.pagecomposer.jaxrs.api -
-
Uses of HstRequestContext in org.hippoecm.hst.container
Methods in org.hippoecm.hst.container that return HstRequestContext Modifier and Type Method Description static HstRequestContext
RequestContextProvider. get()
Returns theHstRequestContext
for the current threads active request.Methods in org.hippoecm.hst.container with parameters of type HstRequestContext Modifier and Type Method Description void
RequestContextProvider.ModifiableRequestContextProvider. set(HstRequestContext requestContext)
-
Uses of HstRequestContext in org.hippoecm.hst.container.site
Methods in org.hippoecm.hst.container.site with parameters of type HstRequestContext Modifier and Type Method Description HstSite
HstSiteProvider. 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
Methods in org.hippoecm.hst.content.rewriter with parameters of type HstRequestContext Modifier and Type Method Description T
ContentRewriter. rewrite(T content, Node contentNode, HstRequestContext requestContext)
T
ContentRewriter. rewrite(T content, Node contentNode, HstRequestContext requestContext, String targetMountAlias)
Rewrites the content of the content node.T
ContentRewriter. rewrite(T content, Node contentNode, HstRequestContext requestContext, Mount targetMount)
Rewrites the content of the content node.T
ContentRewriter. rewrite(T content, HstRequestContext requestContext)
Rewrites thecontent
withHstRequestContext
. -
Uses of HstRequestContext in org.hippoecm.hst.core.channelmanager
Methods in org.hippoecm.hst.core.channelmanager with parameters of type HstRequestContext Modifier and Type Method Description Optional<String>
ComponentLockedReasonContributor. findReason(HstRequestContext requestContext, HstComponentConfiguration compConfig, Workflow workflow, Map<String,Serializable> hints, String branchId)
-
Uses of HstRequestContext in org.hippoecm.hst.core.component
Methods in org.hippoecm.hst.core.component that return HstRequestContext Modifier and Type Method Description HstRequestContext
HstRequest. getRequestContext()
Returns the current request contextMethods in org.hippoecm.hst.core.component with parameters of type HstRequestContext Modifier and Type Method Description HstURL
HstURLFactory. createURL(String type, String referenceNamespace, HstContainerURL base, HstRequestContext requestContext)
Returns HstURL for the HstURL type with reference namespace based on the base container URLHstURL
HstURLFactory. 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
Methods in org.hippoecm.hst.core.container that return HstRequestContext Modifier and Type Method Description HstRequestContext
ValveContext. getRequestContext()
Returns the current request context.Methods in org.hippoecm.hst.core.container with parameters of type HstRequestContext Modifier and Type Method Description void
Pipeline. cleanup(HstContainerConfig requestContainerConfig, HstRequestContext requestContext, javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse)
Does post-processing step for the request processing.HstComponentWindow
HstComponentWindowFactory. create(HstContainerConfig requestContainerConfig, HstRequestContext requestContext, HstComponentConfiguration compConfig, HstComponentFactory compFactory)
Creates aHstComponentWindow
instance.HstComponentWindow
HstComponentWindowFactory. create(HstContainerConfig requestContainerConfig, HstRequestContext requestContext, HstComponentConfiguration compConfig, HstComponentFactory compFactory, HstComponentWindow parentWindow)
Creates aHstComponentWindow
instance as a child window of the parentWindow.Serializable
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)HstComponentWindow
HstComponentWindowFilter. doFilter(HstRequestContext requestContext, HstComponentConfiguration compConfig, HstComponentWindow window)
void
Pipeline. invoke(HstContainerConfig requestContainerConfig, HstRequestContext requestContext, javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse)
Invokes the request processing, aka the initialization and rendering valvesHstContainerURL
HstContainerURLProvider. 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, javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse, String namedPipeline)
processes requestString
HstContainerURLProvider. toURLString(HstContainerURL containerURL, HstRequestContext requestContext)
Stringifying the containerURL as a full URL string.String
HstContainerURLProvider. toURLString(HstContainerURL containerURL, HstRequestContext requestContext, String contextPath)
Stringifying the containerURL as a full URL string.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
Subinterfaces of HstRequestContext in org.hippoecm.hst.core.internal Modifier and Type Interface Description interface
HstMutableRequestContext
This is an INTERNAL USAGE ONLY API.Methods in org.hippoecm.hst.core.internal with parameters of type HstRequestContext Modifier and Type Method Description void
HstRequestContextComponent. release(HstRequestContext context)
Release a request context back to the context pool. -
Uses of HstRequestContext in org.hippoecm.hst.core.jcr
Methods in org.hippoecm.hst.core.jcr with parameters of type HstRequestContext Modifier and Type Method Description void
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
Methods in org.hippoecm.hst.core.linking with parameters of type HstRequestContext Modifier and Type Method Description HstLink
HstLinkCreator. create(String uuid, Session session, HstRequestContext requestContext)
Rewrite a jcr uuid to a HstLink wrt its current ResolvedSiteMapItem.HstLink
HstLinkCreator. create(Node node, HstRequestContext requestContext)
Rewrite a jcr Node to a HstLink wrt its current ResolvedSiteMapItemHstLink
HstLinkCreator. create(Node node, HstRequestContext requestContext, String mountAlias)
HstLink
HstLinkCreator. create(Node node, HstRequestContext requestContext, String mountAlias, String type)
HstLink
HstLinkCreator. create(Node node, HstRequestContext requestContext, HstSiteMapItem preferredItem, boolean fallback)
Rewrite a jcr Node to a HstLink wrt its current HstRequestContext and preferredItem.HstLink
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
.HstLink
HstLinkCreator. create(HippoBean bean, HstRequestContext requestContext)
List<HstLink>
HstLinkCreator. createAll(Node node, HstRequestContext requestContext, boolean crossMount)
Rewrite a jcr Node to a List ofHstLink
sList<HstLink>
HstLinkCreator. createAll(Node node, HstRequestContext requestContext, String hostGroupName, String type, boolean crossMount)
Rewrite a jcr Node to a List ofHstLink
sList<HstLink>
HstLinkCreator. createAllAvailableCanonicals(Node node, HstRequestContext requestContext)
Expert: Creates aList
of all available canonical links fornode
within the hostgroup (VirtualHost.getHostGroupName()
) of theMount
for theHstRequestContext
.List<HstLink>
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
List<HstLink>
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
HstLink
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.HstLink
HstLinkCreator. createCanonical(Node node, HstRequestContext requestContext, HstSiteMapItem preferredItem)
RewriteContext
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
implementationString
HstLink. toUrlForm(HstRequestContext requestContext, boolean fullyQualified)
-
Uses of HstRequestContext in org.hippoecm.hst.core.pagemodel.container
Methods in org.hippoecm.hst.core.pagemodel.container with parameters of type HstRequestContext Modifier and Type Method Description default 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
Methods in org.hippoecm.hst.core.request with parameters of type HstRequestContext Modifier and Type Method Description Credentials
ContextCredentialsProvider. getDefaultCredentials(HstRequestContext requestContext)
Returns the default credentials for this request context if available.Credentials
ContextCredentialsProvider. getWritableCredentials(HstRequestContext requestContext)
Returns the writable credentials for this request context if available. -
Uses of HstRequestContext in org.hippoecm.hst.core.sitemenu
Methods in org.hippoecm.hst.core.sitemenu with parameters of type HstRequestContext Modifier and Type Method Description HstSiteMenus
HstSiteMenusManager. getSiteMenus(HstRequestContext hstRequestContext)
-
Uses of HstRequestContext in org.hippoecm.hst.jaxrs
Methods in org.hippoecm.hst.jaxrs with parameters of type HstRequestContext Modifier and Type Method Description void
JAXRSService. invoke(HstRequestContext requestContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
Uses of HstRequestContext in org.hippoecm.hst.pagecomposer.jaxrs.api
Methods in org.hippoecm.hst.pagecomposer.jaxrs.api that return HstRequestContext Modifier and Type Method Description HstRequestContext
BeforeChannelDeleteEvent. getRequestContext()
HstRequestContext
ChannelEvent. getRequestContext()
HstRequestContext
PageActionContext. getRequestContext()
-