@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
FormException
public FormRequestImpl(org.apache.sling.api.SlingHttpServletRequest request, boolean loadProviders) throws FormException
FormException
public org.apache.sling.api.resource.ValueMap getFormData()
getFormData
in interface FormRequest
public org.apache.sling.api.resource.Resource getFormResource()
getFormResource
in interface FormRequest
public org.apache.sling.api.SlingHttpServletRequest getOriginalRequest()
getOriginalRequest
in interface FormRequest
@PostConstruct public void init() throws FormException
FormException
public void initFields() throws FormException
FormException
public String getSessionId()
getSessionId
in interface FormRequest
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.