protected InputFileDecoder getInputFileDecoder() {
// Since running with JSF 2.2 (or higher) need to use the javax.servlet.http.Part (Servlet 3.0) method of
// decoding uploaded files. This is because the the @MultipartConfig annotation on the FacesServlet will cause
// commons-fileupload to throw exceptions.
return new InputFileDecoderPartImpl();
}