public interface UploadService
Modifier and Type | Method and Description |
---|---|
int |
cleanup()
Performs periodic cleanup of stale uploads.
|
UploadResponse |
upload(org.springframework.web.multipart.MultipartHttpServletRequest uploadRequest,
UploadCompletionHandler completionHandler)
Handles a single content upload request.
|
UploadResponse upload(org.springframework.web.multipart.MultipartHttpServletRequest uploadRequest, UploadCompletionHandler completionHandler)
uploadRequest
- the incoming content upload requestcompletionHandler
- the handler to be called when the content is completeRuntimeException
- if the request could not be processedint cleanup()
Copyright © 2010 - 2016 edorasware ag. All Rights Reserved.