| Constructor and Description |
|---|
BindingsUtils() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.sling.api.scripting.SlingScriptHelper |
getHelper(Bindings bindings)
Retrieves the
SlingScriptHelper from a Bindings map. |
static org.apache.sling.api.SlingHttpServletRequest |
getRequest(Bindings bindings)
Retrieves the
SlingHttpServletRequest from a Bindings map. |
static org.apache.sling.api.resource.Resource |
getResource(Bindings bindings)
Retrieves the
Resource from a Bindings map. |
static org.apache.sling.api.SlingHttpServletResponse |
getResponse(Bindings bindings)
Retrieves the
SlingHttpServletResponse from a Bindings map. |
static Bindings |
merge(Bindings former,
Bindings latter)
Combine two bindings objects.
|
public static org.apache.sling.api.resource.Resource getResource(Bindings bindings)
Resource from a Bindings map.bindings - the bindings mapResource if found, null otherwisepublic static org.apache.sling.api.SlingHttpServletRequest getRequest(Bindings bindings)
SlingHttpServletRequest from a Bindings map.bindings - the bindings mapsSlingHttpServletRequest if found, null otherwisepublic static org.apache.sling.api.SlingHttpServletResponse getResponse(Bindings bindings)
SlingHttpServletResponse from a Bindings map.bindings - the bindings mapsSlingHttpServletResponse if found, null otherwisepublic static org.apache.sling.api.scripting.SlingScriptHelper getHelper(Bindings bindings)
SlingScriptHelper from a Bindings map.bindings - the bindings mapSlingScriptHelper if found, null otherwiseCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.