|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ftpserver.ftplet.DefaultFtplet
public class DefaultFtplet
Default ftplet implementation. All the callback method returns null. It is just an empty implementation. You can derive your ftplet implementation from this class.
Constructor Summary | |
---|---|
DefaultFtplet()
|
Method Summary | |
---|---|
void |
destroy()
Called by the servlet container to indicate to a ftplet that the ftplet is being taken out of service. |
void |
init(FtpletContext ftpletContext)
Called by the ftplet container to indicate to a ftplet that the ftplet is being placed into service. |
FtpletEnum |
onAppendEnd(FtpSession session,
FtpRequest request)
File append success notification method. |
FtpletEnum |
onAppendStart(FtpSession session,
FtpRequest request)
File append request notification method. |
FtpletEnum |
onConnect(FtpSession session)
Client connect notification method. |
FtpletEnum |
onDeleteEnd(FtpSession session,
FtpRequest request)
File delete success notification method. |
FtpletEnum |
onDeleteStart(FtpSession session,
FtpRequest request)
File delete request notification method. |
FtpletEnum |
onDisconnect(FtpSession session)
Client disconnect notification method. |
FtpletEnum |
onDownloadEnd(FtpSession session,
FtpRequest request)
File download success notification method. |
FtpletEnum |
onDownloadStart(FtpSession session,
FtpRequest request)
File download request notification method. |
FtpletEnum |
onLogin(FtpSession session,
FtpRequest request)
Client successful login notification method. |
FtpletEnum |
onMkdirEnd(FtpSession session,
FtpRequest request)
Directory creation success notification method. |
FtpletEnum |
onMkdirStart(FtpSession session,
FtpRequest request)
Directory creation request notification method. |
FtpletEnum |
onRenameEnd(FtpSession session,
FtpRequest request)
Rename end notification method. |
FtpletEnum |
onRenameStart(FtpSession session,
FtpRequest request)
Rename start notification method. |
FtpletEnum |
onRmdirEnd(FtpSession session,
FtpRequest request)
Directory removal success notification method. |
FtpletEnum |
onRmdirStart(FtpSession session,
FtpRequest request)
Remove directory request notification method. |
FtpletEnum |
onSite(FtpSession session,
FtpRequest request)
SITE command notification method. |
FtpletEnum |
onUploadEnd(FtpSession session,
FtpRequest request)
File upload success notification method. |
FtpletEnum |
onUploadStart(FtpSession session,
FtpRequest request)
File upload request notification method. |
FtpletEnum |
onUploadUniqueEnd(FtpSession session,
FtpRequest request)
Unique file create success notification method. |
FtpletEnum |
onUploadUniqueStart(FtpSession session,
FtpRequest request)
Unique file create request notification method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultFtplet()
Method Detail |
---|
public void init(FtpletContext ftpletContext) throws FtpException
Ftplet
init
in interface Ftplet
FtpException
public void destroy()
Ftplet
destroy
in interface Ftplet
public FtpletEnum onConnect(FtpSession session) throws FtpException, java.io.IOException
Ftplet
onConnect
in interface Ftplet
FtpException
java.io.IOException
public FtpletEnum onDisconnect(FtpSession session) throws FtpException, java.io.IOException
Ftplet
onDisconnect
in interface Ftplet
FtpException
java.io.IOException
public FtpletEnum onLogin(FtpSession session, FtpRequest request) throws FtpException, java.io.IOException
Ftplet
FtpSession.getUser()
method will return the user,
otherwise it will return null.
onLogin
in interface Ftplet
FtpException
java.io.IOException
public FtpletEnum onDeleteStart(FtpSession session, FtpRequest request) throws FtpException, java.io.IOException
Ftplet
onDeleteStart
in interface Ftplet
FtpException
java.io.IOException
public FtpletEnum onDeleteEnd(FtpSession session, FtpRequest request) throws FtpException, java.io.IOException
Ftplet
onDeleteEnd
in interface Ftplet
FtpException
java.io.IOException
public FtpletEnum onUploadStart(FtpSession session, FtpRequest request) throws FtpException, java.io.IOException
Ftplet
onUploadStart
in interface Ftplet
FtpException
java.io.IOException
public FtpletEnum onUploadEnd(FtpSession session, FtpRequest request) throws FtpException, java.io.IOException
Ftplet
onUploadEnd
in interface Ftplet
FtpException
java.io.IOException
public FtpletEnum onDownloadStart(FtpSession session, FtpRequest request) throws FtpException, java.io.IOException
Ftplet
onDownloadStart
in interface Ftplet
FtpException
java.io.IOException
public FtpletEnum onDownloadEnd(FtpSession session, FtpRequest request) throws FtpException, java.io.IOException
Ftplet
onDownloadEnd
in interface Ftplet
FtpException
java.io.IOException
public FtpletEnum onRmdirStart(FtpSession session, FtpRequest request) throws FtpException, java.io.IOException
Ftplet
onRmdirStart
in interface Ftplet
FtpException
java.io.IOException
public FtpletEnum onRmdirEnd(FtpSession session, FtpRequest request) throws FtpException, java.io.IOException
Ftplet
onRmdirEnd
in interface Ftplet
FtpException
java.io.IOException
public FtpletEnum onMkdirStart(FtpSession session, FtpRequest request) throws FtpException, java.io.IOException
Ftplet
onMkdirStart
in interface Ftplet
FtpException
java.io.IOException
public FtpletEnum onMkdirEnd(FtpSession session, FtpRequest request) throws FtpException, java.io.IOException
Ftplet
onMkdirEnd
in interface Ftplet
FtpException
java.io.IOException
public FtpletEnum onAppendStart(FtpSession session, FtpRequest request) throws FtpException, java.io.IOException
Ftplet
onAppendStart
in interface Ftplet
FtpException
java.io.IOException
public FtpletEnum onAppendEnd(FtpSession session, FtpRequest request) throws FtpException, java.io.IOException
Ftplet
onAppendEnd
in interface Ftplet
FtpException
java.io.IOException
public FtpletEnum onUploadUniqueStart(FtpSession session, FtpRequest request) throws FtpException, java.io.IOException
Ftplet
onUploadUniqueStart
in interface Ftplet
FtpException
java.io.IOException
public FtpletEnum onUploadUniqueEnd(FtpSession session, FtpRequest request) throws FtpException, java.io.IOException
Ftplet
onUploadUniqueEnd
in interface Ftplet
FtpException
java.io.IOException
public FtpletEnum onRenameStart(FtpSession session, FtpRequest request) throws FtpException, java.io.IOException
Ftplet
onRenameStart
in interface Ftplet
FtpException
java.io.IOException
public FtpletEnum onRenameEnd(FtpSession session, FtpRequest request) throws FtpException, java.io.IOException
Ftplet
onRenameEnd
in interface Ftplet
FtpException
java.io.IOException
public FtpletEnum onSite(FtpSession session, FtpRequest request) throws FtpException, java.io.IOException
Ftplet
onSite
in interface Ftplet
FtpException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |