public interface UploadService
Handles content upload requests.
| 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)
Handles a single content upload request.
The request may be either a complete upload in a single request or part of a chunked upload. The completion handler will only be called when the complete content is available on the server.
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()
Performs periodic cleanup of stale uploads.
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.