public interface ComponentServletRequest extends ComponentResourceRequest
| Modifier and Type | Method and Description |
|---|---|
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.
|
Optional<List<String>> |
getRequestParameters(String parameterName)
Retrieve parameters from the request or return an absent
Optional if they do not exist. |
List<String> |
getSelectors() |
SlingHttpServletRequest |
getSlingRequest() |
SlingHttpServletResponse |
getSlingResponse() |
WCMMode |
getWCMMode() |
getComponentNode, getCurrentNode, getCurrentPage, getPageManager, getPageProperties, getProperties, getResource, getResourceResolver, getSessionOptional<String> getRequestParameter(String parameterName)
Optional if it does not exist.parameterName - request parameter nameOptional<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.List<String> getSelectors()
SlingHttpServletRequest getSlingRequest()
SlingHttpServletResponse getSlingResponse()
WCMMode getWCMMode()
Copyright © 2015 CITYTECH, Inc.. All rights reserved.