public class PatchedFileUploadHandler
Handles a file upload request submitted via an Upload component.
1.) Fix bug http://dev.vaadin.com/ticket/10096 .
2.) Navigate away and close the transaction right before the response is created.
Method used to stream content from a multipart request (either from
servlet or portlet request) to given StreamVariable.
This method takes care of locking the session as needed and does not
assume the caller has locked the session. This allows the session to be
locked only when needed and not when handling the upload data.
doHandleSimpleMultipartFileUpload in class com.vaadin.server.communication.FileUploadHandler
session - The session containing the stream variable
request - The upload request
response - The upload response
streamVariable - The destination stream variable
variableName - The name of the destination stream variable
owner - The owner of the stream variable
boundary - The mime boundary used in the upload request
java.io.IOException - If there is a problem reading the request or writing the