Interface FormHandler
-
public interface FormHandler
A service that posts form data as JSON to a remote service.- Since:
- com.adobe.cq.wcm.core.components.services.form 1.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
forwardFormData(JSONObject formData, String endPointUrl)
Forward form data to a remote service.
-
-
-
Method Detail
-
forwardFormData
boolean forwardFormData(JSONObject formData, String endPointUrl)
Forward form data to a remote service.- Parameters:
formData
- the form data JSON objectendPointUrl
- the URL of the remote service- Returns:
- true if the remote request was successful, otherwise false
- Since:
- com.adobe.cq.wcm.core.components.services.form 1.0.0
-
-