| Modifier and Type | Method and Description |
|---|---|
abstract ActionResult |
Action.doExecute(javax.servlet.http.HttpServletRequest req,
RenderContext renderContext,
Resource resource,
JCRSessionWrapper session,
Map<String,List<String>> parameters,
URLResolver urlResolver) |
ActionResult |
DefaultPutAction.doExecute(javax.servlet.http.HttpServletRequest req,
RenderContext renderContext,
Resource resource,
JCRSessionWrapper session,
Map<String,List<String>> parameters,
URLResolver urlResolver) |
ActionResult |
SystemAction.doExecute(javax.servlet.http.HttpServletRequest req,
RenderContext renderContext,
Resource resource,
JCRSessionWrapper session,
Map<String,List<String>> parameters,
URLResolver urlResolver) |
ActionResult |
DefaultDeleteAction.doExecute(javax.servlet.http.HttpServletRequest req,
RenderContext renderContext,
Resource resource,
JCRSessionWrapper session,
Map<String,List<String>> parameters,
URLResolver urlResolver) |
ActionResult |
DefaultPostAction.doExecute(javax.servlet.http.HttpServletRequest req,
RenderContext renderContext,
Resource resource,
JCRSessionWrapper session,
Map<String,List<String>> parameters,
URLResolver urlResolver) |
abstract ActionResult |
SystemAction.doExecuteAsSystem(javax.servlet.http.HttpServletRequest req,
RenderContext renderContext,
JCRSessionWrapper systemSession,
Resource resource,
Map<String,List<String>> parameters,
URLResolver urlResolver) |
protected void |
Render.doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
RenderContext renderContext,
Resource resource,
long startTime) |
protected long |
Render.getLastModified(Resource resource,
RenderContext renderContext)
Returns the time the
HttpServletRequest object was last modified, in milliseconds since midnight January 1, 1970 GMT. |
| Modifier and Type | Method and Description |
|---|---|
String |
ChannelPreviewFilter.prepare(RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
ChannelResolutionFilter.prepare(RenderContext context,
Resource resource,
RenderChain chain) |
| Modifier and Type | Method and Description |
|---|---|
Resource |
RenderContext.getAjaxResource() |
Resource |
RenderContext.getMainResource() |
Resource |
URLResolver.getResource()
Creates a resource from the path in the URL.
|
Resource |
URLResolver.getResource(String path) |
protected Resource |
URLResolver.resolveResource(String workspace,
Locale locale,
String path)
Creates a resource from the specified path.
|
| Modifier and Type | Method and Description |
|---|---|
Stack<Resource> |
RenderContext.getResourcesStack() |
| Modifier and Type | Method and Description |
|---|---|
void |
RenderTimeMonitor.monitor(Resource resource,
RenderContext renderContext)
Checks the current request rendering time and, if it exceeds the maximum configured one, throws the
RenderTimeLimitExceededException to stop the current request processing chain. |
static void |
RenderInfo.pushResource(Resource resource)
Called on a start resource rendering.
|
String |
RenderService.render(Resource resource,
RenderContext context)
Render a specific resource and returns it as a StringBuffer.
|
Script |
RenderService.resolveScript(Resource resource,
RenderContext context)
This resolves the executable script from the resource object.
|
Template |
RenderService.resolveTemplate(Resource resource,
RenderContext renderContext) |
void |
RenderContext.setAjaxResource(Resource ajaxResource) |
void |
RenderContext.setMainResource(Resource mainResource) |
boolean |
URLGenerator.uses(Resource resource) |
| Constructor and Description |
|---|
URLGenerator(RenderContext context,
Resource resource) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ConditionalExecution.areConditionsMatched(RenderContext renderContext,
Resource resource) |
boolean |
RenderFilter.areConditionsMatched(RenderContext renderContext,
Resource resource) |
boolean |
AbstractFilter.areConditionsMatched(RenderContext renderContext,
Resource resource) |
String |
RenderChain.doFilter(RenderContext renderContext,
Resource resource)
Continue the execution of the render chain.
|
String |
MetricsLoggingFilter.execute(String previousOut,
RenderContext context,
Resource resource,
RenderChain chain) |
String |
BaseAttributesFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
HistoryTrackerFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
URLFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
WrapperFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
RegexpFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
EditModeFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain)
Handle edit mode frame requests : open external url in new window
|
String |
URLSystemAttributesAppenderFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
FormTokenFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
RenderFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
AbstractFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
AggregateFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
TemplatePermissionCheckFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
StaticAssetsFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
EmailObfuscatorFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
ExternalizeHtmlFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
SourceFormatterFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain) |
void |
TemplateModuleInterceptorFilter.finalize(RenderContext renderContext,
Resource resource,
RenderChain renderChain) |
void |
RenderFilter.finalize(RenderContext renderContext,
Resource resource,
RenderChain renderChain) |
void |
AbstractFilter.finalize(RenderContext renderContext,
Resource resource,
RenderChain renderChain) |
void |
AggregateFilter.finalize(RenderContext renderContext,
Resource resource,
RenderChain renderChain) |
String |
EditModeFilter.getContentForError(RenderContext renderContext,
Resource resource,
RenderChain renderChain,
Exception e) |
String |
RenderFilter.getContentForError(RenderContext renderContext,
Resource resource,
RenderChain renderChain,
Exception e) |
String |
AbstractFilter.getContentForError(RenderContext renderContext,
Resource resource,
RenderChain renderChain,
Exception e) |
String |
TemplatePermissionCheckFilter.getContentForError(RenderContext renderContext,
Resource resource,
RenderChain chain,
Exception e) |
String |
TemplateScriptFilter.getContentForError(RenderContext renderContext,
Resource resource,
RenderChain renderChain,
Exception e) |
protected String |
MarkedForDeletionFilter.getTemplateOutput(RenderContext renderContext,
Resource resource) |
String |
AbstractFilter.ModuleCondition.getValue(RenderContext renderContext,
Resource resource) |
protected abstract String |
AbstractFilter.PatternCondition.getValue(RenderContext renderContext,
Resource resource) |
String |
AbstractFilter.TemplateCondition.getValue(RenderContext renderContext,
Resource resource) |
String |
AbstractFilter.TemplateTypeCondition.getValue(RenderContext renderContext,
Resource resource) |
boolean |
AbstractFilter.ExecutionCondition.matches(RenderContext renderContext,
Resource resource)
Returns
true if the condition matches the specified
resource. |
boolean |
AbstractFilter.AjaxRequestCondition.matches(RenderContext renderContext,
Resource resource)
Returns
true if the condition matches the specified
resource. |
boolean |
AbstractFilter.AnyOfCondition.matches(RenderContext renderContext,
Resource resource) |
boolean |
AbstractFilter.ConfigurationCondition.matches(RenderContext renderContext,
Resource resource) |
boolean |
AbstractFilter.MainResourceCondition.matches(RenderContext renderContext,
Resource resource) |
boolean |
AbstractFilter.ModeCondition.matches(RenderContext renderContext,
Resource resource) |
boolean |
AbstractFilter.EditModeCondition.matches(RenderContext renderContext,
Resource resource) |
boolean |
AbstractFilter.NodeTypeCondition.matches(RenderContext renderContext,
Resource resource) |
boolean |
AbstractFilter.NotCondition.matches(RenderContext renderContext,
Resource resource) |
boolean |
AbstractFilter.PatternCondition.matches(RenderContext renderContext,
Resource resource) |
boolean |
AbstractFilter.RequestAttributeCondition.matches(RenderContext renderContext,
Resource resource) |
boolean |
AbstractFilter.RequestHeaderCondition.matches(RenderContext renderContext,
Resource resource) |
boolean |
AbstractFilter.RequestParameterCondition.matches(RenderContext renderContext,
Resource resource) |
boolean |
AbstractFilter.SiteTemplateSetCondition.matches(RenderContext renderContext,
Resource resource) |
boolean |
AbstractFilter.WebflowRequestCondition.matches(RenderContext renderContext,
Resource resource) |
String |
AreaResourceFilter.prepare(RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
MetricsLoggingFilter.prepare(RenderContext context,
Resource resource,
RenderChain chain) |
String |
BaseAttributesFilter.prepare(RenderContext context,
Resource resource,
RenderChain chain) |
String |
TemplateModuleInterceptorFilter.prepare(RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
ForceUILocaleFilter.prepare(RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
MarkedForDeletionFilter.prepare(RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
EditModeFilter.prepare(RenderContext renderContext,
Resource resource,
RenderChain chain)
Handle edit mode requests : dispatch to edit.jsp if edit mode
|
String |
TemplateNodeFilter.prepare(RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
RenderFilter.prepare(RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
NodeAttributesFilter.prepare(RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
AbstractFilter.prepare(RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
AggregateFilter.prepare(RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
TemplatePermissionCheckFilter.prepare(RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
TemplateScriptFilter.prepare(RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
TemplateAttributesFilter.prepare(RenderContext context,
Resource resource,
RenderChain chain) |
String |
HtmlTagAttributeTraverser.traverse(String htmlContent,
RenderContext context,
Resource resource,
HtmlTagAttributeTraverser.HtmlTagAttributeVisitor... visitors)
Parses the provided HTML content and calls specified visitors to modify
the value of matching tag attributes.
|
String |
HtmlTagAttributeTraverser.HtmlTagAttributeVisitor.visit(String value,
RenderContext context,
String tagName,
String attrName,
Resource resource)
Applies the required modifications to the specified attribute if
needed.
|
String |
SiteParameterAdder.visit(String value,
RenderContext context,
String tagName,
String attrName,
Resource resource) |
| Modifier and Type | Method and Description |
|---|---|
protected CountDownLatch |
AggregateCacheFilter.avoidParallelProcessingOfSameModule(String key,
RenderContext renderContext,
Resource resource,
Properties properties)
Deprecated.
|
protected CacheEntry<String> |
AggregateCacheFilter.createCacheEntry(String previousOut,
RenderContext renderContext,
Resource resource,
String key)
Deprecated.
Create the cache entry based on the rendered content.
|
protected void |
CacheFilter.doCache(String previousOut,
RenderContext renderContext,
Resource resource,
Long expiration,
net.sf.ehcache.Cache cache,
String finalKey,
boolean bypassDependencies) |
protected void |
AggregateCacheFilter.doCache(String previousOut,
RenderContext renderContext,
Resource resource,
Properties properties,
net.sf.ehcache.Cache cache,
String key,
String finalKey)
Deprecated.
Create the fragment and store it into the cache.
|
protected void |
AggregateCacheFilter.doCache(String previousOut,
RenderContext renderContext,
Resource resource,
Properties properties,
net.sf.ehcache.Cache cache,
String key,
String finalKey,
boolean bypassDependencies)
Deprecated.
|
String |
AggregateCacheFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain)
Deprecated.
If the entry was not found in the cache, the execute method is called once all normal render processing has been
done.
|
String |
CacheFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain) |
void |
AggregateCacheFilter.finalize(RenderContext renderContext,
Resource resource,
RenderChain chain)
Deprecated.
|
void |
CacheFilter.finalize(RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
DefaultCacheKeyGenerator.generate(Resource resource,
RenderContext renderContext,
Properties properties) |
String |
CacheKeyGenerator.generate(Resource resource,
RenderContext renderContext,
Properties properties)
Generates the output cache key based on the provided data.
|
protected Properties |
AggregateCacheFilter.getAttributesForKey(RenderContext renderContext,
Resource resource)
Deprecated.
Get all cache attributes that need to be applied on this fragment and that will impact key generation.
|
Properties |
DefaultCacheKeyGenerator.getAttributesForKey(RenderContext renderContext,
Resource resource)
Get all cache attributes that need to be applied on this fragment and that will impact key generation.
|
Properties |
CacheKeyGenerator.getAttributesForKey(RenderContext renderContext,
Resource resource)
Get all cache attributes that need to be applied on this fragment and that will impact key generation.
|
String |
AggregateCacheFilter.getContentForError(RenderContext renderContext,
Resource resource,
RenderChain chain,
Exception e)
Deprecated.
|
String |
CacheFilter.getContentForError(RenderContext renderContext,
Resource resource,
RenderChain chain,
Exception e) |
String |
AjaxCacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties) |
String |
TemplateNodesCacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties) |
String |
CustomCacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties) |
String |
CanonicalPathCacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties) |
String |
TemplateCacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties) |
String |
AreaResourceCacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties) |
String |
WrappedCacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties) |
String |
ResourceIDCacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties) |
String |
QueryStringCacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties) |
String |
CacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties)
Get value of this given key part.
|
String |
InAreaCacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties) |
String |
ModuleParamsCacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties) |
String |
AclCacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties) |
String |
TemplateTypeCacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties) |
String |
SiteCacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties) |
String |
LanguageCacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties) |
String |
ContextCacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties) |
String |
ReadOnlyCacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties) |
String |
PathCacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties) |
protected boolean |
AggregateCacheFilter.isCacheable(RenderContext renderContext,
Resource resource,
String key,
Properties properties)
Deprecated.
Is the current fragment cacheable or not.
|
protected boolean |
CacheFilter.isCacheable(RenderContext renderContext,
String key,
Resource resource,
Properties fragmentProperties)
Is the current fragment cacheable or not.
|
String |
ReferencesToDependenciesFilter.prepare(RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
AggregateCacheFilter.prepare(RenderContext renderContext,
Resource resource,
RenderChain chain)
Deprecated.
The prepare method is the first entry point in the cache.
|
String |
CacheFilter.prepare(RenderContext renderContext,
Resource resource,
RenderChain chain) |
Map<String,Object> |
DefaultCacheKeyGenerator.prepareContextForContentGeneration(Map<String,String> keyParts,
Resource resource,
RenderContext renderContext) |
Map<String,Object> |
CacheKeyGenerator.prepareContextForContentGeneration(Map<String,String> keyParts,
Resource resource,
RenderContext renderContext)
Before generating a sub-fragment during aggregation, this function will be called to modify the render context.
|
Object |
TemplateNodesCacheKeyPartGenerator.prepareContextForContentGeneration(String value,
Resource resource,
RenderContext renderContext) |
Object |
AreaResourceCacheKeyPartGenerator.prepareContextForContentGeneration(String value,
Resource resource,
RenderContext renderContext) |
Object |
RenderContextTuner.prepareContextForContentGeneration(String value,
Resource resource,
RenderContext renderContext)
This will be called before a new RenderChain is started to generate a sub-fragment.
|
Object |
WrappedCacheKeyPartGenerator.prepareContextForContentGeneration(String value,
Resource resource,
RenderContext renderContext) |
Object |
InAreaCacheKeyPartGenerator.prepareContextForContentGeneration(String value,
Resource resource,
RenderContext renderContext) |
Object |
ModuleParamsCacheKeyPartGenerator.prepareContextForContentGeneration(String value,
Resource resource,
RenderContext renderContext) |
Object |
ContextCacheKeyPartGenerator.prepareContextForContentGeneration(String value,
Resource resource,
RenderContext renderContext) |
void |
DefaultCacheKeyGenerator.restoreContextAfterContentGeneration(Map<String,String> keyParts,
Resource resource,
RenderContext renderContext,
Map<String,Object> original) |
void |
CacheKeyGenerator.restoreContextAfterContentGeneration(Map<String,String> keyParts,
Resource resource,
RenderContext renderContext,
Map<String,Object> original)
After generating a sub-fragment during aggregation, this function will be called to restore the render context.
|
void |
TemplateNodesCacheKeyPartGenerator.restoreContextAfterContentGeneration(String value,
Resource resource,
RenderContext renderContext,
Object original) |
void |
AreaResourceCacheKeyPartGenerator.restoreContextAfterContentGeneration(String value,
Resource resource,
RenderContext renderContext,
Object original) |
void |
RenderContextTuner.restoreContextAfterContentGeneration(String value,
Resource resource,
RenderContext renderContext,
Object original)
This will be called after a RenderChain finished to generate a sub-fragment.
|
void |
WrappedCacheKeyPartGenerator.restoreContextAfterContentGeneration(String value,
Resource resource,
RenderContext renderContext,
Object original) |
void |
InAreaCacheKeyPartGenerator.restoreContextAfterContentGeneration(String value,
Resource resource,
RenderContext renderContext,
Object original) |
void |
ModuleParamsCacheKeyPartGenerator.restoreContextAfterContentGeneration(String value,
Resource resource,
RenderContext renderContext,
Object original) |
void |
ContextCacheKeyPartGenerator.restoreContextAfterContentGeneration(String value,
Resource resource,
RenderContext renderContext,
Object original) |
protected String |
AggregateCacheFilter.returnFromCache(RenderContext renderContext,
Resource resource,
String key,
String finalKey,
net.sf.ehcache.Element element,
net.sf.ehcache.Cache cache)
Deprecated.
This method is called if the entry is found in the cache.
|
String |
CacheUrlDependenciesParserFilter.visit(String value,
RenderContext context,
String tagName,
String attrName,
Resource resource)
Applies the required modifications to the specified attribute if
needed.
|
| Modifier and Type | Method and Description |
|---|---|
String |
PlutoProcessActionFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
PlutoProcessActionFilter.prepare(RenderContext renderContext,
Resource resource,
RenderChain chain) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultRenderTimeMonitor.monitor(Resource resource,
RenderContext renderContext) |
| Modifier and Type | Method and Description |
|---|---|
String |
JSR223Script.execute(Resource resource,
RenderContext context)
Execute the script and return the result as a string
|
String |
Script.execute(Resource resource,
RenderContext context)
Execute the script and return the result as a string
|
String |
RequestDispatcherScript.execute(Resource resource,
RenderContext context)
Execute the script and return the result as a string
|
Script |
ScriptResolver.resolveScript(Resource resource,
RenderContext renderContext) |
| Modifier and Type | Method and Description |
|---|---|
Script |
BundleScriptResolver.resolveScript(Resource resource,
RenderContext renderContext) |
| Modifier and Type | Method and Description |
|---|---|
ActionResult |
WebflowAction.doExecute(javax.servlet.http.HttpServletRequest req,
RenderContext renderContext,
Resource resource,
JCRSessionWrapper session,
Map<String,List<String>> parameters,
URLResolver urlResolver) |
String |
WebflowDispatcherScript.execute(Resource resource,
RenderContext context)
Execute the script and return the result as a string
|
| Modifier and Type | Method and Description |
|---|---|
String |
UrlRewriteVisitor.visit(String attrValue,
RenderContext context,
String tagName,
String attrName,
Resource resource)
Applies the configured URL rewriting rules to the URL value.
|
| Modifier and Type | Method and Description |
|---|---|
abstract ActionResult |
BaseTagAction.doExecute(javax.servlet.http.HttpServletRequest req,
RenderContext renderContext,
Resource resource,
JCRSessionWrapper session,
Map<String,List<String>> parameters,
URLResolver urlResolver) |
| Modifier and Type | Method and Description |
|---|---|
String |
VisibilityFilter.prepare(RenderContext renderContext,
Resource resource,
RenderChain chain) |
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.