java.lang.Object
io.fusionauth.http.io.DefaultMultipartFileManager
- All Implemented Interfaces:
MultipartFileManager
Manage file creation for multipart streams.
- Author:
- Daniel DeGroff
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultMultipartFileManager(Path tempDir, String optionalPrefix, String optionalSuffix) -
Method Summary
Modifier and TypeMethodDescriptionCreate a temporary file for use when processing files in multipart form data.
-
Constructor Details
-
DefaultMultipartFileManager
-
-
Method Details
-
createTemporaryFile
Description copied from interface:MultipartFileManagerCreate a temporary file for use when processing files in multipart form data.- Specified by:
createTemporaryFilein interfaceMultipartFileManager- Returns:
- the path to the temporary file
- Throws:
IOException
-
getTemporaryFiles
- Specified by:
getTemporaryFilesin interfaceMultipartFileManager- Returns:
- a list of the temporary files created by this file manager.
-