Class DynamicDataSubmissionResponse


  • public class DynamicDataSubmissionResponse
    extends Object
    Provides a Dynamic Data service submission response builder.
    Since:
    4.1.0
    • Constructor Detail

      • DynamicDataSubmissionResponse

        public DynamicDataSubmissionResponse​(Submission submission,
                                             HttpServletRequest request,
                                             String emailSentTo,
                                             boolean backgroundSave)
        Create a Dynamic Data service submission response builder with the given submission.
        Parameters:
        submission - the submission record (required)
        request - the user request (required)
        emailSentTo - the email address sent to (optional)
        backgroundSave - is a background save
    • Method Detail

      • toString

        public String toString()
        Return the JSON Dynamic Data submission response.
        Overrides:
        toString in class Object
        Returns:
        the JSON Dynamic Data submission response