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