|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ftpserver.ftpletcontainer.impl.DefaultFtpletContainer
public class DefaultFtpletContainer
Internal class, do not use directly. This ftplet calls other ftplet methods and returns appropriate return value. Internal class, do not use directly.
| Constructor Summary | |
|---|---|
DefaultFtpletContainer()
|
|
DefaultFtpletContainer(java.util.Map<java.lang.String,Ftplet> ftplets)
|
|
| Method Summary | |
|---|---|
FtpletResult |
afterCommand(FtpSession session,
FtpRequest request,
FtpReply reply)
|
FtpletResult |
beforeCommand(FtpSession session,
FtpRequest request)
|
void |
destroy()
Destroy all ftplets. |
Ftplet |
getFtplet(java.lang.String name)
Get Ftplet for the given name. |
java.util.Map<java.lang.String,Ftplet> |
getFtplets()
Retrive all Ftplets registered with this container |
void |
init(FtpletContext ftpletContext)
|
FtpletResult |
onConnect(FtpSession session)
Call ftplet onConnect. |
FtpletResult |
onDisconnect(FtpSession session)
Call ftplet onDisconnect. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultFtpletContainer()
public DefaultFtpletContainer(java.util.Map<java.lang.String,Ftplet> ftplets)
| Method Detail |
|---|
public Ftplet getFtplet(java.lang.String name)
getFtplet in interface FtpletContainername - The name of the Ftplet to retrive
public void init(FtpletContext ftpletContext)
throws FtpException
init in interface FtpletFtpExceptionpublic java.util.Map<java.lang.String,Ftplet> getFtplets()
FtpletContainer
getFtplets in interface FtpletContainerFtpletContainer.getFtplets()public void destroy()
destroy in interface Ftplet
public FtpletResult onConnect(FtpSession session)
throws FtpException,
java.io.IOException
onConnect in interface FtpletFtpException
java.io.IOException
public FtpletResult onDisconnect(FtpSession session)
throws FtpException,
java.io.IOException
onDisconnect in interface FtpletFtpException
java.io.IOException
public FtpletResult afterCommand(FtpSession session,
FtpRequest request,
FtpReply reply)
throws FtpException,
java.io.IOException
afterCommand in interface FtpletFtpException
java.io.IOException
public FtpletResult beforeCommand(FtpSession session,
FtpRequest request)
throws FtpException,
java.io.IOException
beforeCommand in interface FtpletFtpException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||