|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileUploadService
Provides a file upload service interface.
Field Summary | |
---|---|
static String |
UPLOAD_EXCEPTION
The attribute key used for storing an upload exception. |
Method Summary | |
---|---|
void |
onDestroy()
Destroy the FileUploadService. |
void |
onInit(ServletContext servletContext)
Initialize the FileUploadService with the given application servlet context. |
List<FileItem> |
parseRequest(HttpServletRequest request)
Return a parsed list of FileItem from the request. |
Field Detail |
---|
static final String UPLOAD_EXCEPTION
Method Detail |
---|
void onInit(ServletContext servletContext) throws Exception
ConfigService
by invoking
ClickUtils.getConfigService(javax.servlet.ServletContext)
servletContext
- the application servlet context
Exception
- if an error occurs initializing the FileUploadServicevoid onDestroy()
List<FileItem> parseRequest(HttpServletRequest request) throws FileUploadException
request
- the servlet request
FileUploadException
- if request cannot be parsed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |