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 Detail

      • forwardFormData

        boolean forwardFormData​(JSONObject formData,
                                java.lang.String endPointUrl)
        Forward form data to a remote service.
        Parameters:
        formData - the form data JSON object
        endPointUrl - 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