public class ExecutionContextImpl extends Object implements ExecutionContext
Constructor and Description |
---|
ExecutionContextImpl(javax.servlet.http.HttpServletRequest request) |
Modifier and Type | Method and Description |
---|---|
javax.servlet.http.HttpServletRequest |
getRequest()
Returns a
HttpServletRequest object to retrieve information which
may influence the decision whether a Feature is enabled or not. |
org.apache.sling.api.resource.ResourceResolver |
getResourceResolver()
Returns a
ResourceResolver object to retrieve information which
may influence the decision whether a Feature is enabled or not. |
public ExecutionContextImpl(javax.servlet.http.HttpServletRequest request)
public javax.servlet.http.HttpServletRequest getRequest()
ExecutionContext
HttpServletRequest
object to retrieve information which
may influence the decision whether a Feature
is enabled or not.
If a HttpServletRequest
object is not available in the context,
this method may return null
.getRequest
in interface ExecutionContext
null
public org.apache.sling.api.resource.ResourceResolver getResourceResolver()
ExecutionContext
ResourceResolver
object to retrieve information which
may influence the decision whether a Feature
is enabled or not.
If a ResourceResolver
object is not available in the context,
this method may return null
.getResourceResolver
in interface ExecutionContext
null
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.