1 package com.sslexplorer.core; 2 3 import javax.servlet.http.HttpServletRequest ; 4 import javax.servlet.http.HttpServletResponse ; 5 6 import org.apache.struts.action.ActionForward; 7 8 import com.sslexplorer.security.SessionInfo; 9 10 24 public interface DownloadContent { 25 26 30 public final String FILES_DOWNLOAD_CLEANUP_SESSION_HOOK = "fileDownloadCleanupSessionHook"; 31 32 42 public void sendDownload(HttpServletResponse response, HttpServletRequest request) 43 throws Exception ; 44 45 50 public int getId(); 51 52 57 public void setId(int id); 58 59 64 public void completeDownload(SessionInfo session); 65 66 71 public ActionForward getForward(); 72 73 79 public String getMessageKey(); 80 81 87 public String getMessageResourcesKey(); 88 89 95 public String getMessageArg0(); 96 97 103 public String getMessageArg1(); 104 105 111 public String getMessageArg2(); 112 113 119 public String getMessageArg3(); 120 121 127 public String getMessageArg4(); 128 129 136 public String getMimeType(); 137 138 143 public String getFilename(); 144 145 150 public ActionForward getMessageForward(); 151 152 157 public int getDownloadCount(); 158 159 } | Popular Tags |