Package | Description |
---|---|
org.mockftpserver.core.command | |
org.mockftpserver.fake.command | |
org.mockftpserver.stub.command |
Modifier and Type | Method and Description |
---|---|
Command |
InvocationRecord.getCommand() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractTrackingCommandHandler.handleCommand(Command command,
Session session)
Handle the specified command for the session.
|
void |
CommandHandler.handleCommand(Command command,
Session session)
Handle the specified command for the session.
|
void |
SimpleCompositeCommandHandler.handleCommand(Command command,
Session session) |
void |
ConnectCommandHandler.handleCommand(Command command,
Session session,
InvocationRecord invocationRecord) |
void |
UnsupportedCommandHandler.handleCommand(Command command,
Session session,
InvocationRecord invocationRecord) |
protected abstract void |
AbstractTrackingCommandHandler.handleCommand(Command command,
Session session,
InvocationRecord invocationRecord)
Handle the specified command for the session.
|
void |
StaticReplyCommandHandler.handleCommand(Command command,
Session session,
InvocationRecord invocationRecord) |
Constructor and Description |
---|
InvocationRecord(Command command,
InetAddress clientHost)
Create a new instance
|
Modifier and Type | Method and Description |
---|---|
protected String |
AbstractStoreFileCommandHandler.getOutputFile(Command command)
Return the path (absolute or relative) for the output file.
|
protected String |
StouCommandHandler.getOutputFile(Command command)
Return the path (absolute or relative) for the output file.
|
protected void |
ReinCommandHandler.handle(Command command,
Session session) |
protected void |
RmdCommandHandler.handle(Command command,
Session session) |
protected void |
HelpCommandHandler.handle(Command command,
Session session) |
protected void |
DeleCommandHandler.handle(Command command,
Session session) |
protected void |
NoopCommandHandler.handle(Command command,
Session session) |
protected void |
SiteCommandHandler.handle(Command command,
Session session) |
protected void |
RestCommandHandler.handle(Command command,
Session session) |
protected void |
AborCommandHandler.handle(Command command,
Session session) |
protected void |
StatCommandHandler.handle(Command command,
Session session) |
protected void |
StruCommandHandler.handle(Command command,
Session session) |
protected void |
ListCommandHandler.handle(Command command,
Session session) |
protected void |
PortCommandHandler.handle(Command command,
Session session) |
protected void |
NlstCommandHandler.handle(Command command,
Session session) |
protected void |
EprtCommandHandler.handle(Command command,
Session session) |
protected void |
RntoCommandHandler.handle(Command command,
Session session) |
protected void |
PwdCommandHandler.handle(Command command,
Session session) |
protected void |
AcctCommandHandler.handle(Command command,
Session session) |
protected void |
AbstractStoreFileCommandHandler.handle(Command command,
Session session) |
protected void |
PasvCommandHandler.handle(Command command,
Session session) |
protected void |
QuitCommandHandler.handle(Command command,
Session session) |
protected void |
UserCommandHandler.handle(Command command,
Session session) |
protected void |
ModeCommandHandler.handle(Command command,
Session session) |
protected void |
PassCommandHandler.handle(Command command,
Session session) |
protected void |
RetrCommandHandler.handle(Command command,
Session session) |
protected void |
MkdCommandHandler.handle(Command command,
Session session) |
protected void |
EpsvCommandHandler.handle(Command command,
Session session) |
protected void |
SmntCommandHandler.handle(Command command,
Session session) |
protected void |
RnfrCommandHandler.handle(Command command,
Session session) |
protected void |
CwdCommandHandler.handle(Command command,
Session session) |
protected void |
AlloCommandHandler.handle(Command command,
Session session) |
protected void |
SystCommandHandler.handle(Command command,
Session session) |
protected void |
TypeCommandHandler.handle(Command command,
Session session) |
protected void |
CdupCommandHandler.handle(Command command,
Session session) |
protected abstract void |
AbstractFakeCommandHandler.handle(Command command,
Session session)
Handle the specified command for the session.
|
void |
AbstractFakeCommandHandler.handleCommand(Command command,
Session session)
Use template method to centralize and ensure common validation
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractStubDataCommandHandler.afterProcessData(Command command,
Session session,
InvocationRecord invocationRecord)
Perform any necessary logic after transferring data across the data connection.
|
protected void |
FileRetrCommandHandler.beforeProcessData(Command command,
Session session,
InvocationRecord invocationRecord) |
protected void |
AppeCommandHandler.beforeProcessData(Command command,
Session session,
InvocationRecord invocationRecord) |
protected void |
ListCommandHandler.beforeProcessData(Command command,
Session session,
InvocationRecord invocationRecord) |
protected void |
NlstCommandHandler.beforeProcessData(Command command,
Session session,
InvocationRecord invocationRecord) |
protected void |
AbstractStubDataCommandHandler.beforeProcessData(Command command,
Session session,
InvocationRecord invocationRecord)
Perform any necessary logic before transferring data across the data connection.
|
protected void |
RetrCommandHandler.beforeProcessData(Command command,
Session session,
InvocationRecord invocationRecord) |
protected void |
StorCommandHandler.beforeProcessData(Command command,
Session session,
InvocationRecord invocationRecord) |
void |
ReinCommandHandler.handleCommand(Command command,
Session session,
InvocationRecord invocationRecord) |
void |
RmdCommandHandler.handleCommand(Command command,
Session session,
InvocationRecord invocationRecord) |
void |
HelpCommandHandler.handleCommand(Command command,
Session session,
InvocationRecord invocationRecord) |
void |
DeleCommandHandler.handleCommand(Command command,
Session session,
InvocationRecord invocationRecord) |
void |
NoopCommandHandler.handleCommand(Command command,
Session session,
InvocationRecord invocationRecord) |
void |
SiteCommandHandler.handleCommand(Command command,
Session session,
InvocationRecord invocationRecord) |
void |
RestCommandHandler.handleCommand(Command command,
Session session,
InvocationRecord invocationRecord) |
void |
AborCommandHandler.handleCommand(Command command,
Session session,
InvocationRecord invocationRecord) |
void |
StatCommandHandler.handleCommand(Command command,
Session session,
InvocationRecord invocationRecord) |
void |
StruCommandHandler.handleCommand(Command command,
Session session,
InvocationRecord invocationRecord) |
void |
PortCommandHandler.handleCommand(Command command,
Session session,
InvocationRecord invocationRecord)
Handle the command
|
void |
EprtCommandHandler.handleCommand(Command command,
Session session,
InvocationRecord invocationRecord)
Handle the command
|
void |
RntoCommandHandler.handleCommand(Command command,
Session session,
InvocationRecord invocationRecord) |
void |
PwdCommandHandler.handleCommand(Command command,
Session session,
InvocationRecord invocationRecord) |
void |
AcctCommandHandler.handleCommand(Command command,
Session session,
InvocationRecord invocationRecord) |
void |
PasvCommandHandler.handleCommand(Command command,
Session session,
InvocationRecord invocationRecord) |
void |
QuitCommandHandler.handleCommand(Command command,
Session session,
InvocationRecord invocationRecord) |
void |
UserCommandHandler.handleCommand(Command command,
Session session,
InvocationRecord invocationRecord) |
void |
AbstractStubDataCommandHandler.handleCommand(Command command,
Session session,
InvocationRecord invocationRecord)
Handle the command.
|
void |
ModeCommandHandler.handleCommand(Command command,
Session session,
InvocationRecord invocationRecord) |
void |
PassCommandHandler.handleCommand(Command command,
Session session,
InvocationRecord invocationRecord) |
void |
MkdCommandHandler.handleCommand(Command command,
Session session,
InvocationRecord invocationRecord) |
void |
EpsvCommandHandler.handleCommand(Command command,
Session session,
InvocationRecord invocationRecord) |
void |
SmntCommandHandler.handleCommand(Command command,
Session session,
InvocationRecord invocationRecord) |
void |
RnfrCommandHandler.handleCommand(Command command,
Session session,
InvocationRecord invocationRecord) |
void |
CwdCommandHandler.handleCommand(Command command,
Session session,
InvocationRecord invocationRecord) |
void |
AlloCommandHandler.handleCommand(Command command,
Session session,
InvocationRecord invocationRecord) |
void |
SystCommandHandler.handleCommand(Command command,
Session session,
InvocationRecord invocationRecord) |
void |
TypeCommandHandler.handleCommand(Command command,
Session session,
InvocationRecord invocationRecord) |
void |
CdupCommandHandler.handleCommand(Command command,
Session session,
InvocationRecord invocationRecord) |
protected void |
FileRetrCommandHandler.processData(Command command,
Session session,
InvocationRecord invocationRecord) |
protected void |
ListCommandHandler.processData(Command command,
Session session,
InvocationRecord invocationRecord) |
protected void |
NlstCommandHandler.processData(Command command,
Session session,
InvocationRecord invocationRecord) |
protected void |
AbstractStorCommandHandler.processData(Command command,
Session session,
InvocationRecord invocationRecord) |
protected abstract void |
AbstractStubDataCommandHandler.processData(Command command,
Session session,
InvocationRecord invocationRecord)
Abstract method placeholder for subclass transfer of data across the data connection.
|
protected void |
RetrCommandHandler.processData(Command command,
Session session,
InvocationRecord invocationRecord) |
Copyright © 2016. All rights reserved.