Modifier and Type | Class and Description |
---|---|
class |
AbstractCommandHandler
The abstract superclass for CommandHandler classes.
|
class |
AbstractStaticReplyCommandHandler
The abstract superclass for CommandHandler classes that default to sending
back a configured reply code and text.
|
class |
AbstractTrackingCommandHandler
The abstract superclass for CommandHandler classes that manage the List of InvocationRecord
objects corresponding to each invocation of the command handler, and provide helper methods for subclasses.
|
class |
ConnectCommandHandler
CommandHandler that encapsulates the sending of the reply for the initial connection from
the FTP client to the server.
|
class |
SimpleCompositeCommandHandler
Composite CommandHandler that manages an internal list of CommandHandlers to which it delegates.
|
class |
StaticReplyCommandHandler
CommandHandler that sends back the configured reply code and text.
|
class |
UnsupportedCommandHandler
CommandHandler that encapsulates the sending of the reply when a requested command is not
recognized/supported.
|
Modifier and Type | Method and Description |
---|---|
CommandHandler |
SimpleCompositeCommandHandler.getCommandHandler(int index)
Return the CommandHandler corresponding to the specified invocation index.
|
Modifier and Type | Method and Description |
---|---|
void |
SimpleCompositeCommandHandler.addCommandHandler(CommandHandler commandHandler)
Add a CommandHandler to the internal list of handlers.
|
static void |
ReplyTextBundleUtil.setReplyTextBundleIfAppropriate(CommandHandler commandHandler,
ResourceBundle replyTextBundle)
Set the
replyTextBundle property of the specified CommandHandler to the
ResourceBundle if and only if the commandHandler implements the
ReplyTextBundleAware interface AND its replyTextBundle property
has not been set (is null). |
Modifier and Type | Method and Description |
---|---|
CommandHandler |
AbstractFtpServer.getCommandHandler(String name)
Return the CommandHandler defined for the specified command name
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractFtpServer.initializeCommandHandler(CommandHandler commandHandler)
Initialize a CommandHandler that has been registered to this server.
|
void |
AbstractFtpServer.setCommandHandler(String commandName,
CommandHandler commandHandler)
Set the CommandHandler for the specified command name.
|
Modifier and Type | Method and Description |
---|---|
protected void |
FakeFtpServer.initializeCommandHandler(CommandHandler commandHandler)
Initialize a CommandHandler that has been registered to this server.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractFakeCommandHandler
Abstract superclass for CommandHandler classes for the "Fake" server.
|
class |
AbstractStoreFileCommandHandler
Abstract superclass for CommandHandlers that that store a file (STOR, STOU, APPE).
|
Modifier and Type | Method and Description |
---|---|
protected void |
StubFtpServer.initializeCommandHandler(CommandHandler commandHandler) |
Modifier and Type | Class and Description |
---|---|
class |
AborCommandHandler
CommandHandler for the ABOR command.
|
class |
AbstractStorCommandHandler
Abstract superclass for CommandHandler for commands that store a file.
|
class |
AbstractStubCommandHandler
The abstract superclass for CommandHandler classes for the
StubFtpServer . |
class |
AbstractStubDataCommandHandler
Abstract superclass for CommandHandlers that read from or write to the data connection.
|
class |
AcctCommandHandler
CommandHandler for the ACCT command.
|
class |
AlloCommandHandler
CommandHandler for the ALLO (Allocate) command.
|
class |
AppeCommandHandler
CommandHandler for the APPE (Append) command.
|
class |
CdupCommandHandler
CommandHandler for the CDUP (Change To Parent Directory) command.
|
class |
CwdCommandHandler
CommandHandler for the CWD (Change Working Directory) command.
|
class |
DeleCommandHandler
CommandHandler for the DELE (Delete) command.
|
class |
EprtCommandHandler
CommandHandler for the EPRT command.
|
class |
EpsvCommandHandler
CommandHandler for the EPSV (Extended Address Passive Mode) command.
|
class |
FileRetrCommandHandler
CommandHandler for the RETR command.
|
class |
HelpCommandHandler
CommandHandler for the HELP command.
|
class |
ListCommandHandler
CommandHandler for the LIST command.
|
class |
MkdCommandHandler
CommandHandler for the MKD (Make Directory) command.
|
class |
ModeCommandHandler
CommandHandler for the MODE command.
|
class |
NlstCommandHandler
CommandHandler for the NLST command.
|
class |
NoopCommandHandler
CommandHandler for the NOOP command.
|
class |
PassCommandHandler
CommandHandler for the PASS (Password) command.
|
class |
PasvCommandHandler
CommandHandler for the PASV (Passove Mode) command.
|
class |
PortCommandHandler
CommandHandler for the PORT command.
|
class |
PwdCommandHandler
CommandHandler for the PWD (Print Working Directory) and XPWD commands.
|
class |
QuitCommandHandler
CommandHandler for the QUIT command.
|
class |
ReinCommandHandler
/**
CommandHandler for the REIN (Reinitialize) command.
|
class |
RestCommandHandler
CommandHandler for the REST (Restart of interrupted transfer) command.
|
class |
RetrCommandHandler
CommandHandler for the RETR (Retrieve) command.
|
class |
RmdCommandHandler
CommandHandler for the RMD (Remove Working Directory) command.
|
class |
RnfrCommandHandler
CommandHandler for the RNFR (Rename From) command.
|
class |
RntoCommandHandler
CommandHandler for the RNTO (Rename To) command.
|
class |
SiteCommandHandler
CommandHandler for the SITE (Site Parameters) command.
|
class |
SmntCommandHandler
CommandHandler for the SMNT (Structure Mount) command.
|
class |
StatCommandHandler
CommandHandler for the STAT (Status) command.
|
class |
StorCommandHandler
CommandHandler for the STOR (Store) command.
|
class |
StouCommandHandler
CommandHandler for the STOU (Store Unique) command.
|
class |
StruCommandHandler
CommandHandler for the STRU (File Structure) command.
|
class |
SystCommandHandler
CommandHandler for the SYST (System) command.
|
class |
TypeCommandHandler
CommandHandler for the TYPE command.
|
class |
UserCommandHandler
CommandHandler for the USER command.
|
Copyright © 2016. All rights reserved.