public interface TemplateContextProvider
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONTEXT_FOR_ALL_TYPES
The context for all types.
|
static java.lang.String |
ROOT_KEY
The root key.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getContext(SlingHttpServletRequest request,
java.util.Map<java.lang.String,java.lang.Object> contextFromResource)
Gets the context.
|
java.lang.String |
getContextKey()
Gets the context key.
|
java.util.List<java.lang.String> |
getResourceTypes()
Gets the resource types.
|
static final java.lang.String CONTEXT_FOR_ALL_TYPES
static final java.lang.String ROOT_KEY
java.util.List<java.lang.String> getResourceTypes()
java.util.Map<java.lang.String,java.lang.Object> getContext(SlingHttpServletRequest request, java.util.Map<java.lang.String,java.lang.Object> contextFromResource)
request
- the requestcontextFromResource
- the resource context that is being added tojava.lang.String getContextKey()
Copyright © 2010 - 2020 Adobe. All Rights Reserved