Class FormDynamicDataServlet

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
com.avoka.fc.core.servlet.BaseServlet
com.avoka.fc.core.servlet.FormDynamicDataServlet
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable

public class FormDynamicDataServlet extends BaseServlet
Provides a servlet that will process dynamic form data requests made by HTML Forms.
See Also:
  • Field Details

    • SERVLET_URL

      public static final String SERVLET_URL
      The servlet url
      See Also:
    • SERVLET_NAME

      public static final String SERVLET_NAME
      Servlet name
      See Also:
    • PARAMETER_OPERATION_NAME

      public static final String PARAMETER_OPERATION_NAME
      The request parameter holding the name of the operation to be invoked
      See Also:
    • PARAMETER_REQUEST_KEY

      public static final String PARAMETER_REQUEST_KEY
      The request parameter holding the request log key
      See Also:
    • PARAMETER_SERVICE_NAME

      public static final String PARAMETER_SERVICE_NAME
      The request parameter holding the service name
      See Also:
    • PARAMETER_SERVICE_VERSION

      public static final String PARAMETER_SERVICE_VERSION
      The request parameter holding the service version
      See Also:
    • PARAMETER_FORM_CODE

      public static final String PARAMETER_FORM_CODE
      The request parameter holding the form code
      See Also:
    • PARAMETER_ATTACHMENT_KEY

      public static final String PARAMETER_ATTACHMENT_KEY
      The request parameter holding the attachment key
      See Also:
    • PARAMETER_ATTACHMENT_FILE

      public static final String PARAMETER_ATTACHMENT_FILE
      The request parameter holding the attachment file
      See Also:
    • PARAMETER_ATTACHMENT_METADATA

      public static final String PARAMETER_ATTACHMENT_METADATA
      The request parameter holding the attachment meta data
      See Also:
    • PARAMETER_ATTACHMENT_NAME

      public static final String PARAMETER_ATTACHMENT_NAME
      The request parameter holding the attachment name
      See Also:
    • PARAMETER_MANDATORY_STATUS

      public static final String PARAMETER_MANDATORY_STATUS
      The request parameter holding the attachment mandatory status
      See Also:
    • PARAMETER_REFERENCE_NUMBER

      public static final String PARAMETER_REFERENCE_NUMBER
      The request parameter holding the reference number
      See Also:
    • PARAMETER_SAVE_CHALLENGE_ANSWER

      public static final String PARAMETER_SAVE_CHALLENGE_ANSWER
      The request parameter holding the save challenge answer
      See Also:
    • PARAMETER_EMAIL_ADDRESS

      public static final String PARAMETER_EMAIL_ADDRESS
      The request parameter holding the email address
      See Also:
    • PARAMETER_SEND_EMAIL

      public static final String PARAMETER_SEND_EMAIL
      The request parameter holding the send email
      See Also:
    • PARAMETER_SENDER_NAME

      public static final String PARAMETER_SENDER_NAME
      The request parameter holding the share form email sender name
      See Also:
    • PARAMETER_EMAIL_BODY

      public static final String PARAMETER_EMAIL_BODY
      The request parameter holding the share form email body
      See Also:
    • PARAMETER_BACKGROUND_SAVE

      public static final String PARAMETER_BACKGROUND_SAVE
      The request parameter specifying whether a scripted "backgroundSave"
      See Also:
    • PARAMETER_REVISION_NUMBER

      public static final String PARAMETER_REVISION_NUMBER
      The request parameter holding the revisionNumber
      See Also:
    • PARAMETER_COMMAND

      public static final String PARAMETER_COMMAND
      The request parameter holding the command.
      See Also:
    • PARAMETER_FORM_DATA

      public static final String PARAMETER_FORM_DATA
      The request parameter holding the formData.
      See Also:
    • PARAMETER_FILE_ATTACHMENT

      public static final String PARAMETER_FILE_ATTACHMENT
      The request parameter holding the fileAttachment.
      See Also:
    • OPERATION_NAME_ADD_ATTACHMENT_FILE

      public static final String OPERATION_NAME_ADD_ATTACHMENT_FILE
      The name identifying the add attachment file operation
      See Also:
    • OPERATION_NAME_BACKGROUND_SAVE

      public static final String OPERATION_NAME_BACKGROUND_SAVE
      The name identifying the background save operation
      See Also:
    • OPERATION_NAME_DYNAMIC_DATA

      public static final String OPERATION_NAME_DYNAMIC_DATA
      The name identifying the dynamic data retrieval operation
      See Also:
    • OPERATION_NAME_EMAIL_SAVED_FORM

      public static final String OPERATION_NAME_EMAIL_SAVED_FORM
      The name identifying the email saved form operation
      See Also:
    • OPERATION_NAME_EMAIL_SHARE_FORM

      public static final String OPERATION_NAME_EMAIL_SHARE_FORM
      The name identifying the email share form operation
      See Also:
    • OPERATION_NAME_EMAIL_RECEIPT

      public static final String OPERATION_NAME_EMAIL_RECEIPT
      The name identifying the email receipt operation
      See Also:
    • OPERATION_NAME_EMAIL_CONFIRMATION

      public static final String OPERATION_NAME_EMAIL_CONFIRMATION
      The name identifying the email confirmation operation
      See Also:
    • OPERATION_NAME_GET_ATTACHMENT_FILE

      public static final String OPERATION_NAME_GET_ATTACHMENT_FILE
      The name identifying the get attachment file operation
      See Also:
    • OPERATION_NAME_GET_ATTACHMENT_LIST

      public static final String OPERATION_NAME_GET_ATTACHMENT_LIST
      The name identifying the get attachment list operation
      See Also:
    • OPERATION_NAME_REFERENCE_DATA

      public static final String OPERATION_NAME_REFERENCE_DATA
      The name identifying the reference data operation
      See Also:
    • OPERATION_NAME_FORM_START

      public static final String OPERATION_NAME_FORM_START
      The name identifying the form start operation
      See Also:
    • OPERATION_NAME_PING

      public static final String OPERATION_NAME_PING
      The name identifying the ping operation
      See Also:
    • OPERATION_NAME_REMOVE_ATTACHMENT_FILE

      public static final String OPERATION_NAME_REMOVE_ATTACHMENT_FILE
      The name identifying the remove attachment file operation
      See Also:
    • OPERATION_NAME_RENDER_RECEIPT

      public static final String OPERATION_NAME_RENDER_RECEIPT
      The name identifying the render receipt operation
      See Also:
    • OPERATION_NAME_SAVE_CHALLENGE

      public static final String OPERATION_NAME_SAVE_CHALLENGE
      The name identifying the save challenge operation
      See Also:
    • OPERATION_NAME_SUBMIT_ATTACHMENT_MANUALLY

      public static final String OPERATION_NAME_SUBMIT_ATTACHMENT_MANUALLY
      The name identifying the submit attachments manually operation
      See Also:
    • OPERATION_NAME_COMMAND

      public static final String OPERATION_NAME_COMMAND
      The name identifying the update operation.
      See Also:
  • Constructor Details

    • FormDynamicDataServlet

      public FormDynamicDataServlet()
  • Method Details

    • getErrorLogService

      protected ErrorLogService getErrorLogService()
      Specified by:
      getErrorLogService in class BaseServlet
      Returns:
      an error log service
      Since:
      4.3.4
    • executeRequest

      protected void executeRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
      Handles the dynamic form data service request.
      Specified by:
      executeRequest in class BaseServlet
      Parameters:
      request - the servlet request
      response - the servlet response