public static Map < String , FileItem [ ] > getRequestFileItems ( final HttpServletRequest request ) { if ( request . getAttribute ( REQUEST_PROCESSED_KEY ) == null ) { setupRequestParameters ( request ) ; } return ( Map < String , FileItem [ ] > ) request . getAttribute ( REQUEST_FILES_KEY ) ; }
Get a map of file items in the request allowing for multi part form fields .