public class FileTransferHandlerImpl extends AbstractUrlHandler implements FileTransferHandler
| Constructor and Description |
|---|
FileTransferHandlerImpl(SwingInstanceManager parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
protected String |
getPath() |
void |
init() |
boolean |
registerFile(File file,
String id,
long validForTime,
TimeUnit timeUnit,
String validForUser,
String instanceId,
boolean temp,
boolean waitForFile,
String overwriteDetails) |
boolean |
serve(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
checkMasterPermission, checkPermission, checkPermissionLocalOrMaster, getFullPathMapping, getLastModified, getMasterUser, getPathInfo, getPathMapping, getRootHandler, getSecuredPath, getSecurityProvider, getServletContext, getUser, isSubPath, registerChildUrlHandler, registerFirstChildUrlHandler, removeChildUrlHandler, secureServe, serveRestMethod, toPathclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckMasterPermission, checkPermission, getFullPathMapping, getLastModified, getPathMapping, getRootHandler, getSecuredPath, getSecurityProvider, getServletContext, getUser, registerChildUrlHandler, registerFirstChildUrlHandler, removeChildUrlHandlerpublic FileTransferHandlerImpl(SwingInstanceManager parent)
protected String getPath()
getPath in class AbstractUrlHandlerpublic boolean serve(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws org.webswing.server.model.exception.WsException
serve in interface UrlHandlerserve in class AbstractUrlHandlerorg.webswing.server.model.exception.WsExceptionpublic void destroy()
destroy in interface UrlHandlerdestroy in class AbstractUrlHandlerpublic void init()
init in interface UrlHandlerinit in class AbstractUrlHandlerpublic boolean registerFile(File file, String id, long validForTime, TimeUnit timeUnit, String validForUser, String instanceId, boolean temp, boolean waitForFile, String overwriteDetails)
registerFile in interface FileTransferHandlerCopyright © 2019. All rights reserved.