|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
parseRequest(HttpServletRequest request)
Return a parsed list of FileItem from the request. |
Field Detail |
public static final String UPLOAD_EXCEPTION
Method Detail |
public 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 FileUploadServicepublic void onDestroy()
public List 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 |