public class AuDndUploader extends Object implements org.zkoss.zk.au.http.AuExtension
| Constructor and Description |
|---|
AuDndUploader() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
protected String |
handleError(Throwable ex)
Handles the exception that was thrown when uploading files, and returns the error message.
|
void |
init(org.zkoss.zk.au.http.DHtmlUpdateServlet servlet) |
static boolean |
isMultipartContent(javax.servlet.http.HttpServletRequest request)
Returns whether the request contains multipart content.
|
void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String pi) |
public void init(org.zkoss.zk.au.http.DHtmlUpdateServlet servlet)
init in interface org.zkoss.zk.au.http.AuExtensionpublic void destroy()
destroy in interface org.zkoss.zk.au.http.AuExtensionpublic void service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String pi)
throws javax.servlet.ServletException,
IOException
service in interface org.zkoss.zk.au.http.AuExtensionjavax.servlet.ServletExceptionIOExceptionprotected String handleError(Throwable ex)
ex - the exception. Typical exceptions include org.apache.commons.fileupload
.FileUploadBase.SizeLimitExceededExceptionpublic static boolean isMultipartContent(javax.servlet.http.HttpServletRequest request)
request - RequestCopyright © 2016 SAPERION AG. All rights reserved.