Turn MultipartRequestEntity into a static MultipartBodyFactory