Package com.avoka.fc.core.servlet
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
Provides a base servlet class for various kind of render servlet.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classProvides a render context class. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected FormDaoprotected PortalPropertyDaoprotected SubmissionDaoprotected UserAccountDaoFields inherited from class com.avoka.fc.core.servlet.BaseServlet
PAGE_InvalidRequest, PAGE_OfflineFields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected RequestLogCreate a RequestLog record for the given request context.protected IAuthenticationServiceReturn the Authentication Serviceprotected StringReturn the form not found path.protected booleanReturn true if the servlet should accept XML based form prefill, or false otherwise.protected voidstoreSubmissionFormXml(Submission submission, RenderServlet.RenderContext context, Document storeDoc) Store the submission form XML data.Methods inherited from class com.avoka.fc.core.servlet.BaseServlet
doGet, doPost, executeRequest, getDataContext, getDeploymentPropertyDao, getErrorLogService, getErrorPagePath, getLogger, getMultiPartRequestMap, getParameterString, getParameterString, getParameterStringTrim, getRequest, getRequestParameters, getResponse, handleException, handleRequest, hasPermission, hasPermission, hasPermission, listServletInfo, sendRedirect, sendResponseErrorMethods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, init, service, serviceMethods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Field Details
-
formDao
-
submissionDao
-
ppDao
-
userAccountDao
-
-
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
Return the form not found path.- Returns:
- the form not found path
-
createRequestLog
Create a RequestLog record for the given request context.- Parameters:
context- the render context- Returns:
- a new RequestLog record
-
getAuthenticationService
Return the Authentication Service- Returns:
- the Authentication Service
-