public class NoChunkUploadService extends Object
An upload service implementation that doesn’t support chunked 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. 
 | 
public int cleanup()
UploadServicePerforms periodic cleanup of stale uploads.
public UploadResponse upload(org.springframework.web.multipart.MultipartHttpServletRequest uploadRequest, UploadCompletionHandler completionHandler, boolean failOnEmptyRequest)
UploadServiceHandles 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.
upload in interface UploadServiceuploadRequest - the incoming content upload requestcompletionHandler - the handler to be called when the content is completefailOnEmptyRequest - fail is a request is received with no contentCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.