Allow using a different FileItemFactory by extracting a method in MultipartServletWebRequest class --------------------------------------------------------------------------------------------------
Key: WICKET-2469 URL: https://issues.apache.org/jira/browse/WICKET-2469 Project: Wicket Issue Type: Improvement Components: wicket Affects Versions: 1.4.1 Environment: Anyone Reporter: Esteban Priority: Minor Hi there: In MultipartServletWebRequest constructor we have: ... (line 93) DiskFileItemFactory factory = new DiskFileItemFactory(); ... which inhibits anyone from reusing MultipartServletWebRequest with a different factory. The only solution is generate a new class that is a copy of this one, with that line changed. The suggestion is to extract this code into a protected method, so we could just extend this class when there's a need to use a different factory (as in GAE applications). A diff file is added. Thanks in advance, Esteban -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.