KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sslexplorer > core > UploadHandler


1 package com.sslexplorer.core;
2
3 import java.io.IOException JavaDoc;
4
5 import javax.servlet.http.HttpServletRequest JavaDoc;
6 import javax.servlet.http.HttpServletResponse JavaDoc;
7
8 import org.apache.struts.action.ActionForward;
9 import org.apache.struts.upload.FormFile;
10
11 import com.sslexplorer.vfs.UploadDetails;
12
13 public interface UploadHandler {
14
15     public ActionForward performUpload(HttpServletRequest JavaDoc request, HttpServletResponse JavaDoc response, UploadDetails fileUpload, FormFile file) throws IOException JavaDoc, Exception JavaDoc ;
16     
17     public boolean checkFileToUpload(HttpServletRequest JavaDoc request, HttpServletResponse JavaDoc response, UploadDetails fileUpload, FormFile file) throws IOException JavaDoc, Exception JavaDoc ;
18
19 }
20
Popular Tags