public class MuleFtplet
extends org.apache.ftpserver.ftplet.DefaultFtplet
Ftplet
implementation that calls methods on its callback. Although this seems a bit
like jumping through hoops, it frees the individual test classes from having to deal with
creating custom Ftplets.Modifier and Type | Class and Description |
---|---|
static interface |
MuleFtplet.Callback |
Constructor and Description |
---|
MuleFtplet(MuleFtplet.Callback callback) |
Modifier and Type | Method and Description |
---|---|
org.apache.ftpserver.ftplet.FtpletResult |
onRenameEnd(org.apache.ftpserver.ftplet.FtpSession session,
org.apache.ftpserver.ftplet.FtpRequest request) |
org.apache.ftpserver.ftplet.FtpletResult |
onUploadEnd(org.apache.ftpserver.ftplet.FtpSession session,
org.apache.ftpserver.ftplet.FtpRequest request) |
afterCommand, beforeCommand, destroy, init, onAppendEnd, onAppendStart, onConnect, onDeleteEnd, onDeleteStart, onDisconnect, onDownloadEnd, onDownloadStart, onLogin, onMkdirEnd, onMkdirStart, onRenameStart, onRmdirEnd, onRmdirStart, onSite, onUploadStart, onUploadUniqueEnd, onUploadUniqueStart
public MuleFtplet(MuleFtplet.Callback callback)
public org.apache.ftpserver.ftplet.FtpletResult onUploadEnd(org.apache.ftpserver.ftplet.FtpSession session, org.apache.ftpserver.ftplet.FtpRequest request) throws org.apache.ftpserver.ftplet.FtpException, IOException
onUploadEnd
in class org.apache.ftpserver.ftplet.DefaultFtplet
org.apache.ftpserver.ftplet.FtpException
IOException
public org.apache.ftpserver.ftplet.FtpletResult onRenameEnd(org.apache.ftpserver.ftplet.FtpSession session, org.apache.ftpserver.ftplet.FtpRequest request) throws org.apache.ftpserver.ftplet.FtpException, IOException
onRenameEnd
in class org.apache.ftpserver.ftplet.DefaultFtplet
org.apache.ftpserver.ftplet.FtpException
IOException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.