Class SubmissionDataExtractionService
java.lang.Object
com.avoka.fc.core.service.BaseService
com.avoka.fc.core.service.submission.SubmissionDataExtractionService
- All Implemented Interfaces:
ISubmissionDataExtractionService
public class SubmissionDataExtractionService
extends BaseService
implements ISubmissionDataExtractionService
Provides a service to extract the XML data document from a Composer HTML form submission.
- Since:
- 4.0.7
-
Field Summary
Fields inherited from interface com.avoka.fc.core.service.ISubmissionDataExtractionService
AE_NAME, AE_USER_MSG
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionextractData
(HttpServletRequest request, HttpServletResponse response) Return the submission data for the given form submission request.boolean
void
setXssFilterEnabled
(boolean xssFilterEnabled) Methods inherited from class com.avoka.fc.core.service.BaseService
getLogger
-
Constructor Details
-
SubmissionDataExtractionService
public SubmissionDataExtractionService()
-
-
Method Details
-
extractData
public SubmissionDataBean extractData(HttpServletRequest request, HttpServletResponse response) throws ApplicationException Return the submission data for the given form submission request.- Specified by:
extractData
in interfaceISubmissionDataExtractionService
- Parameters:
request
- the servlet requestresponse
- the servlet response- Returns:
- the submission data extraction bean, or null if validation errors have been written back to the response
- Throws:
ApplicationException
- if an error occurs at runtime- See Also:
-
isXssFilterEnabled
public boolean isXssFilterEnabled()- Returns:
- the xssFilterEnabled
- Since:
- 4.3.4
-
setXssFilterEnabled
public void setXssFilterEnabled(boolean xssFilterEnabled) - Parameters:
xssFilterEnabled
- the xssFilterEnabled to set- Since:
- 4.3.4
-