public interface ComponentServletRequest
| Modifier and Type | Method and Description | 
|---|---|
ComponentNode | 
getComponentNode()  | 
Node | 
getCurrentNode()  | 
PageDecorator | 
getCurrentPage()  | 
PageManagerDecorator | 
getPageManager()  | 
org.apache.sling.api.resource.ValueMap | 
getPageProperties()  | 
org.apache.sling.api.resource.ValueMap | 
getProperties()  | 
com.google.common.base.Optional<String> | 
getRequestParameter(String parameterName)
Retrieve a parameter from the request or return an absent  
Optional if it does not exist. | 
String | 
getRequestParameter(String parameterName,
                   String defaultValue)
Retrieve a parameter value from the request or return a default value if the parameter does not exist. 
 | 
com.google.common.base.Optional<List<String>> | 
getRequestParameters(String parameterName)
Retrieve parameters from the request or return an absent  
Optional if they do not exist. | 
org.apache.sling.api.resource.Resource | 
getResource()  | 
org.apache.sling.api.resource.ResourceResolver | 
getResourceResolver()  | 
List<String> | 
getSelectors()  | 
Session | 
getSession()  | 
org.apache.sling.api.SlingHttpServletRequest | 
getSlingRequest()  | 
org.apache.sling.api.SlingHttpServletResponse | 
getSlingResponse()  | 
com.day.cq.wcm.api.WCMMode | 
getWCMMode()  | 
ComponentNode getComponentNode()
Node getCurrentNode()
PageDecorator getCurrentPage()
PageManagerDecorator getPageManager()
org.apache.sling.api.resource.ValueMap getPageProperties()
org.apache.sling.api.resource.ValueMap getProperties()
com.google.common.base.Optional<String> getRequestParameter(String parameterName)
Optional if it does not exist.parameterName - request parameter namecom.google.common.base.Optional<List<String>> getRequestParameters(String parameterName)
Optional if they do not exist.parameterName - request parameter nameString getRequestParameter(String parameterName, String defaultValue)
parameterName - request parameter namedefaultValue - String of the default value to return if the parameter does not exist.org.apache.sling.api.resource.Resource getResource()
org.apache.sling.api.resource.ResourceResolver getResourceResolver()
List<String> getSelectors()
Session getSession()
org.apache.sling.api.SlingHttpServletRequest getSlingRequest()
org.apache.sling.api.SlingHttpServletResponse getSlingResponse()
com.day.cq.wcm.api.WCMMode getWCMMode()
Copyright © 2019 ICF Next. All rights reserved.