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,
boolean failOnEmptyRequest)
Handles a single content upload request.
|
UploadResponse upload(org.springframework.web.multipart.MultipartHttpServletRequest uploadRequest, UploadCompletionHandler completionHandler, boolean failOnEmptyRequest)
uploadRequest
- the incoming content upload requestcompletionHandler
- the handler to be called when the content is completefailOnEmptyRequest
- fail is a request is received with no contentRuntimeException
- if the request could not be processedint cleanup()
Copyright © 2010 - 2017 edorasware ag. All Rights Reserved.