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
Constructors Constructor Description SubmissionDataExtractionService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubmissionDataBean
extractData(HttpServletRequest request, HttpServletResponse response)
Return the submission data for the given form submission request.boolean
isXssFilterEnabled()
void
setXssFilterEnabled(boolean xssFilterEnabled)
-
Methods inherited from class com.avoka.fc.core.service.BaseService
getLogger
-
-
-
-
Method Detail
-
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:
ISubmissionDataExtractionService.extractData(HttpServletRequest, HttpServletResponse)
-
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
-
-