Package de.esoco.data
Schnittstelle UploadHandler
public interface UploadHandler
An interface that defines the handling of an HTTP file upload.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
processUploadData
(String filename, String contentType, InputStream dataStream) Must be implemented to process the uploaded data.
-
Methodendetails
-
processUploadData
void processUploadData(String filename, String contentType, InputStream dataStream) throws Exception Must be implemented to process the uploaded data. The actual data must be read from the given input stream and stored as needed by the implementation.- Parameter:
filename
- The file name of the uploadcontentType
- The MIME type of the uploaded datadataStream
- The input stream that provides the upload data- Löst aus:
Exception
- Any kind of exception may be thrown if the data processing fails
-