Class RenderServlet

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
com.avoka.fc.core.servlet.BaseServlet
com.avoka.fc.core.servlet.RenderServlet
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable
Direct Known Subclasses:
FormRenderServlet, HtmlFormRenderServlet, ReceiptRenderServlet

public abstract class RenderServlet extends BaseServlet
Provides a base servlet class for various kind of render servlet.
See Also:
  • Field Details

  • Constructor Details

    • RenderServlet

      public RenderServlet()
  • Method Details

    • storeSubmissionFormXml

      protected void storeSubmissionFormXml(Submission submission, RenderServlet.RenderContext context, Document storeDoc)
      Store the submission form XML data.
      Parameters:
      submission - the submission record (required)
      context - the render context (required)
      storeDoc - the form data to store (required)
      Since:
      17.10.3
    • isAcceptXmlPrefill

      protected boolean isAcceptXmlPrefill()
      Return true if the servlet should accept XML based form prefill, or false otherwise.
      Returns:
      true if the servlet should accept XML based form prefill, or false otherwise
      Since:
      3.6.0
    • getFormNotFoundPath

      protected String getFormNotFoundPath()
      Return the form not found path.
      Returns:
      the form not found path
    • createRequestLog

      protected RequestLog createRequestLog(RenderServlet.RenderContext context)
      Create a RequestLog record for the given request context.
      Parameters:
      context - the render context
      Returns:
      a new RequestLog record
    • getAuthenticationService

      protected IAuthenticationService getAuthenticationService()
      Return the Authentication Service
      Returns:
      the Authentication Service