@ProviderType
public interface FormsRouter
| Modifier and Type | Field and Description |
|---|---|
static String |
FORM_NAME_INPUT |
static String |
FORM_RESOURCE_INPUT |
| Modifier and Type | Method and Description |
|---|---|
String |
getFormSelector(org.apache.sling.api.SlingHttpServletRequest slingRequest)
Gets the Form Selector for the form POST request.
|
String |
getSuffix()
Gets the suffix to look for to identify ACS AEM Commons form submissions.
|
boolean |
hasValidSuffix(org.apache.sling.api.SlingHttpServletRequest slingRequest)
Checks if the Request has a suffix that matches the suffix registered to identify ACS AEM Commons form
submissions (and returned by .getSuffix()).
|
static final String FORM_RESOURCE_INPUT
static final String FORM_NAME_INPUT
String getFormSelector(org.apache.sling.api.SlingHttpServletRequest slingRequest)
slingRequest - the SlingRequest objString getSuffix()
boolean hasValidSuffix(org.apache.sling.api.SlingHttpServletRequest slingRequest)
slingRequest - the SlingRequest objCopyright © 2013–2020 Adobe. All rights reserved.