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

    Modifier and Type
    Method
    Description
    boolean
    forwardFormData(JSONObject formData, String endPointUrl)
    Forward form data to a remote service.
  • Method Details

    • forwardFormData

      boolean forwardFormData(JSONObject formData, 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