Package com.iizix.jetty
Interface IWSUploaderService
- All Superinterfaces:
- IWSUploader
Interface used to handle uploads to the server from a client, e.g. profile images. In order to be able to accept an upload from a client, it must beforehand be registered by a client session to get a IWSUploaderAcceptor instance. This instance is required to perform validation if upload is enabled and of what is being uploaded and to where.
- Author:
- Christopher Mindus
- Method SummaryModifier and TypeMethodDescription- getAcceptor- (HttpServletRequest request, HttpServletResponse response) Checks if the server would accept this upload request or not.- Methods inherited from interface com.iizix.comm.IWSUploader- getFileUploadStagingDirectory, getMaximumUploadFileSize, isFileUploadEnabled
- Method Details- getAcceptorIWSUploaderAcceptor getAcceptor- (HttpServletRequest request, HttpServletResponse response) throws IOException Checks if the server would accept this upload request or not.- Parameters:
- request- The request.
- response- The response.
- Returns:
- The IWSUploaderAcceptor instance to handle the upload, or null if not accepted.
- Throws:
- IOException