@Deprecated public abstract class AbstractHstSiteMapHandler extends Object implements HstSiteMapItemHandler
Constructor and Description |
---|
AbstractHstSiteMapHandler()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Deprecated.
Override this method when the destroy of this HstSiteMapItemHandler should invoke some processing, for example clear a cache
|
javax.servlet.ServletContext |
getServletContext()
Deprecated.
|
SiteMapItemHandlerConfiguration |
getSiteMapItemHandlerConfiguration()
Deprecated.
Through the
SiteMapItemHandlerConfiguration all (resolved) configuration properties can be accessed. |
HstURLFactory |
getURLFactory(ResolvedSiteMapItem resolvedSiteMapItem)
Deprecated.
|
void |
init(javax.servlet.ServletContext servletContext,
SiteMapItemHandlerConfiguration handlerConfig)
Deprecated.
Allows the HstSiteMapItemHandler to initialize itself
|
ResolvedSiteMapItem |
matchSiteMapItem(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ResolvedSiteMapItem currentResolvedSiteMapItem,
String pathInfo)
Deprecated.
Resolves with the help of the current resolvedSiteMapItem to a new sitemap item with path
pathInfo |
ResolvedSiteMapItem |
process(ResolvedSiteMapItem resolvedSiteMapItem,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deprecated.
Override this method when you are implementing your own real HstSiteMapHandler.
|
public void init(javax.servlet.ServletContext servletContext, SiteMapItemHandlerConfiguration handlerConfig) throws HstSiteMapItemHandlerException
HstSiteMapItemHandler
init
in interface HstSiteMapItemHandler
servletContext
- the servletContext of the HST container servlethandlerConfig
- the componentConfigBean configurationHstSiteMapItemHandlerException
public ResolvedSiteMapItem process(ResolvedSiteMapItem resolvedSiteMapItem, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws HstSiteMapItemHandlerException
resolvedSiteMapItem
directly.process
in interface HstSiteMapItemHandler
ResolvedSiteMapItem
, or null
when the handler did for example already write the entire response
and request processing can be stoppedHstSiteMapItemHandlerException
public void destroy() throws HstSiteMapItemHandlerException
destroy
in interface HstSiteMapItemHandler
HstSiteMapItemHandlerException
public SiteMapItemHandlerConfiguration getSiteMapItemHandlerConfiguration()
HstSiteMapItemHandler
SiteMapItemHandlerConfiguration
all (resolved) configuration properties can be accessed.getSiteMapItemHandlerConfiguration
in interface HstSiteMapItemHandler
public javax.servlet.ServletContext getServletContext()
getServletContext
in interface HstSiteMapItemHandler
public ResolvedSiteMapItem matchSiteMapItem(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, ResolvedSiteMapItem currentResolvedSiteMapItem, String pathInfo) throws MatchException
pathInfo
request
- response
- currentResolvedSiteMapItem
- pathInfo
- MatchException
- when the pathInfo
cannot be matchedpublic HstURLFactory getURLFactory(ResolvedSiteMapItem resolvedSiteMapItem)
resolvedSiteMapItem
- Copyright © 2008-2013 Hippo B.V. (http://www.onehippo.com). All Rights Reserved.