Package | Description |
---|---|
org.hippoecm.hst.component.support.bean | |
org.hippoecm.hst.container |
The org.hippoecm.hst.container package defines the API for the HST Container
|
org.hippoecm.hst.content.rewriter |
The org.hippoecm.hst.content.rewriter package defines the API for the HST Content Rewriters
|
org.hippoecm.hst.content.rewriter.impl | |
org.hippoecm.hst.core.component |
The org.hippoecm.hst.core.component package defines the API for the HST Core Component
|
org.hippoecm.hst.core.container |
The org.hippoecm.hst.core.container package defines the API for the HST Core Container
|
org.hippoecm.hst.core.internal |
The org.hippoecm.hst.core.internal package defines INTERNAL USAGE ONLY API for the HST Container
|
org.hippoecm.hst.core.jcr |
The org.hippoecm.hst.core.jcr package defines the API for the HST Core JCR
|
org.hippoecm.hst.core.linking |
The org.hippoecm.hst.core.linking package defines the API for the HST Core Linking
|
org.hippoecm.hst.core.request |
The org.hippoecm.hst.core.request package defines the API for the HST Core Request
|
org.hippoecm.hst.core.sitemenu |
The org.hippoecm.hst.core.sitemenu package defines the API for the HST Core SiteMenu
|
org.hippoecm.hst.jaxrs | |
org.hippoecm.hst.jaxrs.cxf | |
org.hippoecm.hst.jaxrs.model.content | |
org.hippoecm.hst.jaxrs.services | |
org.hippoecm.hst.jaxrs.services.content | |
org.hippoecm.hst.jaxrs.util | |
org.hippoecm.hst.mock.core.component | |
org.hippoecm.hst.mock.core.linking | |
org.hippoecm.hst.mock.core.request | |
org.hippoecm.hst.restapi | |
org.hippoecm.hst.util |
The org.hippoecm.hst.content.util package defines the API for the HST Util
|
org.onehippo.jaxrs.cxf.hst |
Modifier and Type | Method and Description |
---|---|
HstQueryManager |
BaseHstComponent.getQueryManager(HstRequestContext ctx)
Deprecated.
since 7.9.0 : use
getQueryManager() instead |
Modifier and Type | Class and Description |
---|---|
class |
GenericRequestContextWrapper |
Modifier and Type | Method and Description |
---|---|
static HstRequestContext |
ModifiableRequestContextProvider.get()
Returns the
HstRequestContext for the current threads active request. |
static HstRequestContext |
RequestContextProvider.get()
Returns the
HstRequestContext for the current threads active request. |
Modifier and Type | Method and Description |
---|---|
static void |
ModifiableRequestContextProvider.set(HstRequestContext requestContext)
Sets the
HstRequestContext for the current threads active request. |
Modifier and Type | Method and Description |
---|---|
T |
ContentRewriter.rewrite(T content,
HstRequestContext requestContext)
Rewrites the
content with HstRequestContext . |
T |
ContentRewriter.rewrite(T content,
javax.jcr.Node contentNode,
HstRequestContext requestContext)
Rewrites the
content for Node contentNode . |
T |
ContentRewriter.rewrite(T content,
javax.jcr.Node contentNode,
HstRequestContext requestContext,
Mount targetMount)
Rewrites the content of the content node.
|
T |
ContentRewriter.rewrite(T content,
javax.jcr.Node contentNode,
HstRequestContext requestContext,
String targetMountAlias)
Rewrites the content of the content node.
|
Modifier and Type | Method and Description |
---|---|
protected HstLink |
SimpleContentRewriter.createInternalLink(javax.jcr.Node referencedNode,
HstRequestContext requestContext,
Mount targetMount)
Create an HstLink to a referenced node in rich text.
|
protected HstLink |
SimpleContentRewriter.getBinaryLink(String path,
javax.jcr.Node node,
HstRequestContext requestContext,
Mount targetMount) |
protected HstLink |
SimpleContentRewriter.getDocumentLink(String path,
javax.jcr.Node hippoHtmlNode,
HstRequestContext requestContext,
Mount targetMount) |
protected HstLink |
SimpleContentRewriter.getLink(String path,
javax.jcr.Node hippoHtmlNode,
HstRequestContext requestContext,
Mount targetMount) |
String |
SimpleContentRewriter.rewrite(String html,
HstRequestContext requestContext) |
String |
SimpleContentRewriter.rewrite(String html,
javax.jcr.Node hippoHtmlNode,
HstRequestContext requestContext) |
String |
SimpleContentRewriter.rewrite(String html,
javax.jcr.Node hippoHtmlNode,
HstRequestContext requestContext,
Mount targetMount)
Rewrite link references in rich text to valid URLs.
|
String |
SimpleContentRewriter.rewrite(String html,
javax.jcr.Node hippoHtmlNode,
HstRequestContext requestContext,
String targetSiteAlias) |
T |
AbstractContentRewriter.rewrite(T content,
HstRequestContext requestContext) |
T |
AbstractContentRewriter.rewrite(T content,
javax.jcr.Node contentNode,
HstRequestContext requestContext) |
T |
AbstractContentRewriter.rewrite(T content,
javax.jcr.Node contentNode,
HstRequestContext requestContext,
Mount targetMount) |
T |
AbstractContentRewriter.rewrite(T content,
javax.jcr.Node contentNode,
HstRequestContext requestContext,
String targetMountAlias) |
protected String |
SimpleContentRewriter.rewriteBinaryLink(String binaryLinkReference,
javax.jcr.Node hippoHtmlNode,
HstRequestContext requestContext,
Mount targetMount)
Rewrites binary link in
src attribute of img tag. |
protected String |
SimpleContentRewriter.rewriteDocumentLink(String documentLinkReference,
javax.jcr.Node hippoHtmlNode,
HstRequestContext requestContext,
Mount targetMount)
Rewrites document link in
href attribute of anchor tag. |
Modifier and Type | Method and Description |
---|---|
HstRequestContext |
HstRequest.getRequestContext()
Returns the current request context
|
Modifier and Type | Method and 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 URL
|
HstURL |
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 explicit
contextPath , for example needed when the Mount to create a link for has a different contextpath
than the ResolvedMount belonging to the HstRequestContext |
Modifier and Type | Method and Description |
---|---|
HstRequestContext |
ValveContext.getRequestContext()
Returns the current request context.
|
Modifier and Type | Method and 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 a
HstComponentWindow instance. |
HstComponentWindow |
HstComponentWindowFactory.create(HstContainerConfig requestContainerConfig,
HstRequestContext requestContext,
HstComponentConfiguration compConfig,
HstComponentFactory compFactory,
HstComponentWindow parentWindow)
Creates a
HstComponentWindow 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 valves
|
HstContainerURL |
HstContainerURLProvider.parseURL(HstRequestContext requestContext,
ResolvedMount mount,
String requestPath,
Map<String,String[]> queryParams)
Parses a specified requestPath with the current
HstRequestContext for a new ResolvedMount and requestPath
and creates an HstContainerURL instance. |
void |
HstRequestProcessor.processRequest(HstContainerConfig requestContainerConfig,
HstRequestContext requestContext,
javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
String namedPipeline)
processes request
|
String |
HstContainerURLProvider.toContextRelativeURLString(HstContainerURL containerURL,
HstRequestContext requestContext)
Deprecated.
deprecated since 2.30.00 (CMS 10.0), use
HstContainerURLProvider.toURLString(HstContainerURL, org.hippoecm.hst.core.request.HstRequestContext) instead |
String |
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.
|
Modifier and Type | Interface and Description |
---|---|
interface |
HstMutableRequestContext
This is an INTERNAL USAGE ONLY API.
|
Modifier and Type | Method and Description |
---|---|
void |
HstRequestContextComponent.release(HstRequestContext context)
Release a request context back to the context pool.
|
Modifier and Type | Method and Description |
---|---|
void |
SessionSecurityDelegation.cleanupSessionDelegates(HstRequestContext requestContext)
cleans up any sessions that are not yet logged out and were created either through
SessionSecurityDelegation.getOrCreateLiveSecurityDelegate(javax.jcr.Credentials, String) ,
or through SessionSecurityDelegation.getOrCreatePreviewSecurityDelegate(javax.jcr.Credentials, String) or through one of the create methods
with autoLogout set to true |
Modifier and Type | Method and Description |
---|---|
HstLink |
HstLinkCreator.create(HippoBean bean,
HstRequestContext requestContext) |
HstLink |
HstLinkCreator.create(javax.jcr.Node node,
HstRequestContext requestContext)
Rewrite a jcr Node to a HstLink wrt its current ResolvedSiteMapItem
|
HstLink |
HstLinkCreator.create(javax.jcr.Node node,
HstRequestContext requestContext,
HstSiteMapItem preferredItem,
boolean fallback)
Rewrite a jcr Node to a HstLink wrt its current HstRequestContext and preferredItem.
|
HstLink |
HstLinkCreator.create(javax.jcr.Node node,
HstRequestContext requestContext,
HstSiteMapItem preferredItem,
boolean fallback,
boolean navigationStateful)
This method creates the same
HstLink as HstLinkCreator.create(Node, HstRequestContext, HstSiteMapItem, boolean) when navigationStateful = false . |
HstLink |
HstLinkCreator.create(javax.jcr.Node node,
HstRequestContext requestContext,
String mountAlias)
|
HstLink |
HstLinkCreator.create(javax.jcr.Node node,
HstRequestContext requestContext,
String mountAlias,
String type)
|
HstLink |
HstLinkCreator.create(String uuid,
javax.jcr.Session session,
HstRequestContext requestContext)
Rewrite a jcr uuid to a HstLink wrt its current ResolvedSiteMapItem.
|
List<HstLink> |
HstLinkCreator.createAll(javax.jcr.Node node,
HstRequestContext requestContext,
boolean crossMount)
Rewrite a jcr Node to a List of
HstLink s |
List<HstLink> |
HstLinkCreator.createAll(javax.jcr.Node node,
HstRequestContext requestContext,
String hostGroupName,
String type,
boolean crossMount)
Rewrite a jcr Node to a List of
HstLink s |
List<HstLink> |
HstLinkCreator.createAllAvailableCanonicals(javax.jcr.Node node,
HstRequestContext requestContext)
Expert: Creates a
List of all available canonical links for node within the hostgroup ( VirtualHost.getHostGroupName() ) of the Mount for
the HstRequestContext . |
List<HstLink> |
HstLinkCreator.createAllAvailableCanonicals(javax.jcr.Node node,
HstRequestContext requestContext,
String type)
Expert: Creates a
List of all available canonical links for node , within the hostgroup ( VirtualHost.getHostGroupName() ) of the Mount for
the HstRequestContext and where where the backing Mount of the HstLink has at least one Mount.getTypes() equal to type |
List<HstLink> |
HstLinkCreator.createAllAvailableCanonicals(javax.jcr.Node node,
HstRequestContext requestContext,
String type,
String hostGroupName)
Expert: Creates a
List of all available canonical links for node , within the hostgroup hostGroupName and where where the backing Mount of the HstLink has at least one Mount.getTypes() equal to type |
HstLink |
HstLinkCreator.createCanonical(javax.jcr.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(javax.jcr.Node node,
HstRequestContext requestContext,
HstSiteMapItem preferredItem) |
RewriteContext |
RewriteContextResolver.resolve(javax.jcr.Node node,
Mount mount,
HstRequestContext context,
boolean canonical,
boolean navigationStateful)
In general, the returned
RewriteContext.getPath() with which the link creation is tried is just Item.getPath()
and the returned RewriteContext.getMount() just the mount for the current HstRequestContext , however,
if required differently by an end project, it can be done by implementing a custom RewriteContextResolver
and set this on HstLinkCreator implementation |
String |
HstLink.toUrlForm(HstRequestContext requestContext,
boolean fullyQualified) |
Modifier and Type | Method and Description |
---|---|
javax.jcr.Credentials |
ContextCredentialsProvider.getDefaultCredentials(HstRequestContext requestContext)
Returns the default credentials for this request context if available.
|
javax.jcr.Credentials |
ContextCredentialsProvider.getWritableCredentials(HstRequestContext requestContext)
Returns the writable credentials for this request context if available.
|
Modifier and Type | Method and Description |
---|---|
HstSiteMenus |
HstSiteMenusManager.getSiteMenus(HstRequestContext hstRequestContext) |
Modifier and Type | Method and Description |
---|---|
protected List<Class<? extends HippoBean>> |
AbstractJaxrsService.getAnnotatedClasses(HstRequestContext requestContext)
Deprecated.
since 2.28.00 not used any more. If custom annotated classes are needed, inject a
custom object converter in the HstRequestContext through ContentBeansTool. This method does not do
anything any more
|
protected abstract String |
AbstractJaxrsService.getJaxrsPathInfo(HstRequestContext requestContext,
javax.servlet.http.HttpServletRequest request)
Concrete implementations must implement this method to get the jaxrs pathInfo.
|
protected javax.servlet.http.HttpServletRequest |
AbstractJaxrsService.getJaxrsRequest(HstRequestContext requestContext,
javax.servlet.http.HttpServletRequest request) |
protected String |
AbstractJaxrsService.getJaxrsServletPath(HstRequestContext requestContext) |
protected String |
AbstractJaxrsService.getMountContentPath(HstRequestContext requestContext) |
protected ObjectConverter |
AbstractJaxrsService.getObjectConverter(HstRequestContext requestContext) |
HippoBean |
AbstractJaxrsService.getRequestContentBean(HstRequestContext requestContext)
Returns the content HippoBean for the current request.
|
<T extends HippoBean> |
AbstractJaxrsService.getRequestContentBean(HstRequestContext requestContext,
Class<T> beanMappingClass)
Returns the content HippoBean of type T for the current request.
|
HippoFolderBean |
AbstractJaxrsService.getSiteContentBaseBean(HstRequestContext requestContext) |
void |
JAXRSService.invoke(HstRequestContext requestContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
abstract void |
AbstractJaxrsService.invoke(HstRequestContext requestContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Modifier and Type | Method and Description |
---|---|
protected String |
CXFJaxrsContentService.getJaxrsPathInfo(HstRequestContext requestContext,
javax.servlet.http.HttpServletRequest request) |
protected String |
CXFJaxrsService.getJaxrsPathInfo(HstRequestContext requestContext,
javax.servlet.http.HttpServletRequest request) |
protected javax.servlet.http.HttpServletRequest |
CXFJaxrsContentService.getJaxrsRequest(HstRequestContext requestContext,
javax.servlet.http.HttpServletRequest request) |
void |
CXFJaxrsService.invoke(HstRequestContext requestContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Modifier and Type | Method and Description |
---|---|
protected HstRequestContext |
NodeRepresentation.getRequestContext()
NodeRepresentation.getRequestContext() is a utility method that should not be serialized/deserialized hence the
XmlTransient annotation |
Modifier and Type | Method and Description |
---|---|
protected HstRequestContext |
AbstractResource.getRequestContext(javax.servlet.http.HttpServletRequest servletRequest) |
Modifier and Type | Method and Description |
---|---|
List<Class<? extends HippoBean>> |
AbstractResource.getAnnotatedClasses(HstRequestContext requestContext)
Deprecated.
since 2.28.00 not used any more. If custom annotated classes are needed, inject a
custom object converter in the HstRequestContext through ContentBeansTool. This method does not do
anything any more
|
HstQueryManager |
AbstractResource.getHstQueryManager(HstRequestContext requestContext) |
HstQueryManager |
AbstractResource.getHstQueryManager(javax.jcr.Session session,
HstRequestContext requestContext) |
HippoFolderBean |
AbstractResource.getMountContentBaseBean(HstRequestContext requestContext) |
protected Link |
AbstractResource.getMountLink(HstRequestContext requestContext,
HippoBean hippoBean,
String mountAliasName,
String subPath)
Creates a link to the provided
HippoBean , exposed over the mount identified by the alias
mountAliasName . |
protected Link |
AbstractResource.getNodeLink(HstRequestContext requestContext,
HippoBean hippoBean)
Creates a link to the provided
HippoBean , exposed over the rest mount. |
ObjectConverter |
AbstractResource.getObjectConverter(HstRequestContext requestContext) |
protected javax.jcr.Session |
AbstractResource.getPersistableSession(HstRequestContext requestContext)
Creates a persistable JCR session with the default credentials
|
protected javax.jcr.Session |
AbstractResource.getPersistableSession(HstRequestContext requestContext,
javax.jcr.Credentials credentials)
Creates a persistable JCR session with provided credentials.
|
protected ObjectBeanPersistenceManager |
AbstractResource.getPersistenceManager(HstRequestContext requestContext)
Creates and returns a persistence manager with the default session of the requestContext.
|
protected ObjectBeanPersistenceManager |
AbstractResource.getPersistenceManager(HstRequestContext requestContext,
javax.jcr.Session persistableSession)
Creates and returns a persistence manager with the specified session.
|
protected HippoBean |
AbstractResource.getRequestContentBean(HstRequestContext requestContext)
Returns the content HippoBean for the current request.
|
protected <T extends HippoBean> |
AbstractResource.getRequestContentBean(HstRequestContext requestContext,
Class<T> beanMappingClass)
Returns the content HippoBean of type T for the current request.
|
protected Link |
AbstractResource.getRestLink(HstRequestContext requestContext,
HippoBean hippoBean,
String subPath)
Creates a link to the provided
HippoBean , exposed over the rest mount. |
protected Link |
AbstractResource.getSiteLink(HstRequestContext requestContext,
HippoBean hippoBean)
Creates a link to the provided
HippoBean , exposed over the site mount. |
Modifier and Type | Method and Description |
---|---|
protected String |
AbstractContentResource.getRequestContentPath(HstRequestContext requestContext) |
Modifier and Type | Method and Description |
---|---|
static List<Class<? extends HippoBean>> |
AnnotatedContentBeanClassesScanner.scanAnnotatedContentBeanClasses(HstRequestContext requestContext,
String annoClassesResourcePath)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
HstRequestContext |
MockHstRequest.getRequestContext() |
HstRequestContext |
MockValveContext.getRequestContext() |
Modifier and Type | Method and Description |
---|---|
void |
MockHstRequest.setRequestContext(HstRequestContext requestContext) |
Modifier and Type | Method and Description |
---|---|
String |
MockHstLink.toUrlForm(HstRequestContext requestContext,
boolean fullyQualified) |
Modifier and Type | Class and Description |
---|---|
class |
MockHstRequestContext |
Modifier and Type | Method and Description |
---|---|
HstRequestContext |
ResourceContext.getRequestContext() |
Modifier and Type | Method and Description |
---|---|
static HstRequestContext |
HstRequestUtils.getHstRequestContext(javax.servlet.http.HttpServletRequest servletRequest)
Returns
HstRequestContext object found in the servletRequest. |
Modifier and Type | Method and Description |
---|---|
static String |
WebFileUtils.getBundleName(HstRequestContext requestContext) |
static javax.jcr.Session |
ContentBeanUtils.getDisposableSession(HstRequestContext requestContext,
String sessionIdentifier)
This method tries to get a
Session from a disposable pool which is identified by
disposablePoolIdentifier or a Session from a security delegate
If sessionIdentifier is empty or null an HstComponentException will be thrown. |
static String |
HstRequestUtils.getFullyQualifiedHstURL(HstRequestContext requestContext,
HstURL hstUrl,
boolean escapeXml)
Returns a fully qualified String url for the
HstURL hstUrl . |
static javax.jcr.Session |
ContentBeanUtils.getPreviewCmsQuerySession(HstRequestContext requestContext,
String sessionIdentifier) |
static boolean |
HstRequestUtils.isComponentRenderingPreviewRequest(HstRequestContext requestContext) |
Constructor and Description |
---|
HstCXFTestFixtureHelper(HstRequestContext hstRequestContext) |
Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.