@Model(adaptables={org.apache.sling.api.SlingHttpServletRequest.class,org.apache.sling.api.resource.Resource.class},
adapters=FormRequest.class)
public class FormRequestImpl
extends Object
implements FormRequest
| Constructor and Description |
|---|
FormRequestImpl(org.apache.sling.api.SlingHttpServletRequest request) |
FormRequestImpl(org.apache.sling.api.SlingHttpServletRequest request,
boolean loadProviders) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.sling.api.resource.ValueMap |
getFormData() |
org.apache.sling.api.resource.Resource |
getFormResource() |
org.apache.sling.api.SlingHttpServletRequest |
getOriginalRequest() |
String |
getSessionId() |
void |
init() |
void |
initFields() |
public FormRequestImpl(org.apache.sling.api.SlingHttpServletRequest request)
throws FormException
FormExceptionpublic FormRequestImpl(org.apache.sling.api.SlingHttpServletRequest request,
boolean loadProviders)
throws FormException
FormExceptionpublic org.apache.sling.api.resource.ValueMap getFormData()
getFormData in interface FormRequestpublic org.apache.sling.api.resource.Resource getFormResource()
getFormResource in interface FormRequestpublic org.apache.sling.api.SlingHttpServletRequest getOriginalRequest()
getOriginalRequest in interface FormRequest@PostConstruct public void init() throws FormException
FormExceptionpublic void initFields()
throws FormException
FormExceptionpublic String getSessionId()
getSessionId in interface FormRequestCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.